-
Notifications
You must be signed in to change notification settings - Fork 18
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
Conversation
Can you please create an issue relevant to this? |
Sure
…On Fri, May 25, 2018 at 10:07 PM, Roozbeh Hajizadeh < ***@***.***> wrote:
Can you please create a issue relevant to this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhGlgA1x74wpovomL-El0VXjUPVg_3fpks5t2EFagaJpZM4UCghJ>
.
|
@@ -1,5 +1,5 @@ | |||
<template> | |||
<div class="pdatepicker" v-bind:class="{ 'inline' : inlineMode, wrapperClass }"> | |||
<div class="pdatepicker" :class="inputWrapperClass"> |
There was a problem hiding this comment.
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(){ |
There was a problem hiding this comment.
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
First of all thank you so much for this PR and I'm sorry that I'm replying to you with a long delay. |
If you set the wrapperClass prop in it was setting the prop itself as the class like : class="wrapperClass"
Fixed ! 👍