-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
MonthPicker with max-date option #323
Comments
Okay an update, after checking various scenarios -
And keep maxDate as 31st march then its working as expected, |
@Jasenkoo I am trying to use this for my client project, and it solves all my problems other than this, Is there anything we can do to fast-track this? |
Fixed in 76507d2, adding as reference |
@Jasenkoo Great man. You are Amazing. By when would this be released?? |
Published, closing now. |
Describe the bug
I am trying to use the component and its really good.
While validation, I observed that If i am keeping It as monthpicker and applying max-date = new Date() its not enabling the select button at all. I am using OptionsAPI in vue 3.
Code Below :
<VueDatePicker
v-model="date"
range
:month-picker="isMonth"
:year-picker="isYear"
@OPEN="updated_duration"
@close="getGroupsVehicles"
ref="myDatesPicker"
:format="formatDate"
:partial-range="false"
:no-today="true"
:multi-calendars="!isMonth && !isYear"
:clearable="false"
:enable-time-picker="false"
:prevent-min-max-navigation="true"
:ignoreTimeValidation="true"
:disableTimeRangeValidation="true"
>
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If the dates are selected properly, Select button should be enabled
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop & mobile (please complete the following information):
The text was updated successfully, but these errors were encountered: