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

Autocorrection for wrong input #382

Open
jangix opened this issue Sep 18, 2018 · 0 comments
Open

Autocorrection for wrong input #382

jangix opened this issue Sep 18, 2018 · 0 comments

Comments

@jangix
Copy link

jangix commented Sep 18, 2018

Imagine: timepicker on a textbox with placeholder="hh:mm" then setDefaultTime=false.

By inserting an incorrect value in the texbox as a literal string, the control arbitrarily sets the time to "0:00 AM"!

I think it's a serious bug, many users don't watch the monitor while writing, this bug could allow the submit of the form with unwanted data.

Solutions that I would like in case of incorrect input:

  • Set empty value in textbox (to see eventual placeholder and avoid submit).
  • Set "12:00 PM" instead of empty value in the widget (to facilitate the selection of the time)
  • Play a beep sound.
  • Trigger an event.
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

1 participant