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

changeDate event not fired on manual typing #2325

Open
Mobe91 opened this issue Jan 8, 2018 · 2 comments
Open

changeDate event not fired on manual typing #2325

Mobe91 opened this issue Jan 8, 2018 · 2 comments

Comments

@Mobe91
Copy link

Mobe91 commented Jan 8, 2018

Expected behaviour

The 'changeDate' event is fired when I manually change the date by typing in the input.

Actual behaviour

The 'changeDate' event is not fired.

Datepicker version used

1.7.1

Example code

https://jsfiddle.net/0e9Ltt21/5/

This seems to have been caused by 110b120 where the && fromArgs check was added to the comparison of new and old dates.

@schorke
Copy link

schorke commented Jan 9, 2018

Juste faced the same issue and same conclusion, when removing && fromArgs , test

Events on initialization - When initializing the datepicker, it should trigger no change or changeDate events

in tests/suites/events.js obviously fails

@Ghost-Programmer
Copy link

Any chance of a new release to fix this issue?

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

No branches or pull requests

3 participants