-
Notifications
You must be signed in to change notification settings - Fork 1k
Change month updates value #213
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
Comments
Also if set showTimepicker property to false then the input isn't updated when changing month (as in original datepicker). Could you please fix this issue? |
Hi! It's me with my hacky solutions. I know this code is here for a reason, but this hack does work for me. I commented lines 154 - 156 (default onChangeMonthYear) and 159 - 162 (default onClose). So far I haven't found any defects with this approach but I think there are some. Use with care. |
This has been bugging me, too :( |
I found where is bug for this issue. Line 827 Data is provided from wrong fields. If you change selectedYear, selectedMonth and selectedDay with currentYear, currentMonth and currentDay, everything works fine. Hope this will be fixed in one of future releases. |
When changing the month using the next or previous arrows, the input value is updated, this does not happen in the original datepicker widget, (http://jqueryui.com/demos/datepicker/) .
I'm using the widget to filter some data by datetime via ajax, I have an event that observes the changes on the input field, since the input is updated on every month change several ajax calls are made while browsing, even though the user never really choosed a date.
The text was updated successfully, but these errors were encountered: