Skip to content

Conversation

@kunalkumar
Copy link

Hey Trent,

Noticed that even though I have beforeShow event added to my code and while it was returning false, DateTime picker used to popup. Digging into the code, I found that the beforeShow in your plugin did not return the value from event "beforeShow". I have added that just to make sure that beforeShow feature remains intact.

Needless to mention, JQuery UI Datepicker uses beforeShow value to decide whether to show date picker or not.

Thanks!
Kunal

…tePicker. If the value returned from beforeShow (custom function) is false, popup must not show up. (This is the general behaviour in JQuery UI DatePicker as well.
@trentrichardson
Copy link
Owner

Thanks for the fix. I added it to the dev branch.

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.

2 participants