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

timepicker: make the component invalid if wrong input #513

Closed
jnizet opened this issue Jul 29, 2016 · 1 comment
Closed

timepicker: make the component invalid if wrong input #513

jnizet opened this issue Jul 29, 2016 · 1 comment

Comments

@jnizet
Copy link
Member

jnizet commented Jul 29, 2016

Using the demo with custom validation, if I enter something invalid (like aa, for example) in one of the fields, or if I clear one of the fields, I would expect a validation error other than "It's a bit too early", and the model to become null, since aa:<blank><blank> is not a valid input and should thus not, IMO, be saved as 00:00 in the model.

@pkozlowski-opensource
Copy link
Member

Makes sense. Will look into those scenarios as part of alpha.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants