Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrapper class of datepicker container #23

Closed
wants to merge 2 commits into from

Conversation

hesan-aminiloo
Copy link
Contributor

If you set the wrapperClass prop in it was setting the prop itself as the class like : class="wrapperClass"

Fixed ! 👍

@theroozbeh
Copy link
Owner

theroozbeh commented May 25, 2018

Can you please create an issue relevant to this?

@hesan-aminiloo
Copy link
Contributor Author

hesan-aminiloo commented May 25, 2018 via email

@@ -1,5 +1,5 @@
<template>
<div class="pdatepicker" v-bind:class="{ 'inline' : inlineMode, wrapperClass }">
<div class="pdatepicker" :class="inputWrapperClass">
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a much easier and more efficient way to this.
check the next release :)

@@ -224,6 +224,25 @@ export default {
return this.endAvailableDateV.year;
}
return this.maximumYear;
},

inputWrapperClass(){
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

by using that method we do not need this function anymore

@theroozbeh
Copy link
Owner

First of all thank you so much for this PR and I'm sorry that I'm replying to you with a long delay.
Unfortunately I cannot accept this PR. please read the reviews I wrote.

@theroozbeh theroozbeh closed this Jun 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants