angular-ui / bootstrap

PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
http://angular-ui.github.io/bootstrap/
MIT License
14.3k stars 6.74k forks source link

Not possible to reset invalid number #6594

Open marekpanti opened 6 years ago

marekpanti commented 6 years ago

When resetting a timepicker with invalid number, the value does not change and it is not possible to set it as null (only in library)!

https://plnkr.co/edit/vaqiKjdKTQr8o9qoy8ek?p=preview

Type: a valid time number then reset value, result: the reset works. Type invalid time number for example: 99, result: the reset does not works

Angular: 1.5

UIBS: 2.5.0

JLuitjens commented 6 years ago

https://github.com/angular-ui/bootstrap/issues/6240