-
Notifications
You must be signed in to change notification settings - Fork 101
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
When leaving flatpickr, the minute component entered by keyboard is not accepted. #278
Comments
This is happening because the component also listen to The Something is strange happening here. |
OK, thanks for you first analysis. Is there anything we can do to prevent this behavior, like ignoring the onClose for example? |
Removing onClose will introduce other issues. It was added for a reason. Trying to find that PR |
I'm submitting a ... (check one with "x")
Tell about your platform
https://ankurk91.github.io/vue-flatpickr-component/ vs. https://flatpickr.js.org/examples/#datetime
Current behavior
When you open the flatpickr with datetime configuration for the first time, go to the minute field, enter with the keyboard a number, then click with mouse outside of the flatpicker, then on the flatpickr.js.org you will see the selected minute in the field. When you do the same with vue-flatpickr, you will see that the minute stays "00". When you do the same thing a second time, it works also with vue-flatpickr.
https://us02web.zoom.us/rec/share/VI_OEh1CWWg5EtDHZhZA6znLqQmRfiJ8i7EeaFbYJT3YUd7X-tSIVVPD-5FK9CYW.CEcnweqQ4SOJWZX0?startTime=1679414151000
Code: Jy2&Q@d*
Expected behavior
Also with vue-flatpicker a minute value, which is entered through keyboard, should be put into the form field when leaving the flatpickr.
Minimal reproduction of the problem with instructions
See above.
The text was updated successfully, but these errors were encountered: