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

input-date: unable to type a date unless I press enter after + clicking on wanted date #249

Closed
dbendaou opened this issue May 2, 2018 · 7 comments

Comments

@dbendaou
Copy link

dbendaou commented May 2, 2018

Hi,
Don't know if it's a bug or bad ux, but when the allowInput option is activated,
you need to type your wanted date THEN you need to press enter and THEN to click on the wanted date.
I would like to only type the date and don't be forced to press enter and then click on the date which is a bit frustrating..

There is a gif of the behavior
may-02-2018 14-55-15
ps: notice that the error in french on the right mean "The field cannot be empty"
pss: we doesn't see the mouse cursor but I'm just clicking away on a other field after typing my date

@dbendaou dbendaou changed the title input-date: unable to type a date unless I press enter after input-date: unable to type a date unless I press enter after + clicking on wanted date May 2, 2018
@dbendaou
Copy link
Author

dbendaou commented May 2, 2018

If it's unclear, i would be happy to explain it in another way 😃

@RobbieTheWagner
Copy link
Owner

@dbendaou does this error happen with flatpickr itself as well or just when using ember-flatpickr?

@dbendaou
Copy link
Author

dbendaou commented May 3, 2018

Is wasn't able to test on flatpickr itself yet

@RobbieTheWagner
Copy link
Owner

If this is confirmed to be an ember-flatpickr issue, we can definitely try to fix it. I don't have the time to investigate if it is a flatpickr bug right now.

@dbendaou
Copy link
Author

dbendaou commented May 3, 2018

It seems to came from flatpickr bad implementation.. https://jsfiddle.net/xxmp01qk/

I'm closing this issue since it doesn't came from this repo. Thanks for the help

@dbendaou dbendaou closed this as completed May 3, 2018
@RobbieTheWagner
Copy link
Owner

I would recommend opening an issue on the flatpickr repo, if there is an error, and linking back here please.

@ghost
Copy link

ghost commented Oct 31, 2018

I think this is the upstream issue: flatpickr/flatpickr#1551

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

2 participants