Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Timepicker: Invalid value in the field is removed when focus lost #3825

Closed
lauribenno opened this issue Jun 16, 2015 · 2 comments
Closed

Timepicker: Invalid value in the field is removed when focus lost #3825

lauribenno opened this issue Jun 16, 2015 · 2 comments

Comments

@lauribenno
Copy link

Timepicker shows behaviour that is inconsistent with datepicker (and other input fields as well) when handling invalid input.

Steps to reproduce:

  • Enter 25 in first field
  • Tab to second field
  • Enter 6 => first field is changed to 2 => should stay 25 and marked as invalid

Expected behaviour: Invalid fields are marked but invalid input is still displayed in the field.
Same problem in the other direction as well.

@rvanbaalen
Copy link
Contributor

First step to reproduce: provide us with a plunkr.

@wesleycho
Copy link
Contributor

This is easily reproduced on the basic Plunker, as seen here.

This is certainly unexpected behavior.

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

Successfully merging a pull request may close this issue.

3 participants