This repository has been archived by the owner on May 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 207
Can't type value #18
Comments
The only worry I have now is that we should probably block typing in the text box from updating the model at all and do all changes on blur... Let me know what you think and whether this helps... |
I've only tried it a few minutes now, but it seems to work perfectly. Thanks a lot! |
When is this going to be released to the bower repo? |
I don't think this project is being actively maintained any longer. Too bad, it is really useful. |
robmunro
pushed a commit
to robmunro/ui-date
that referenced
this issue
Nov 19, 2014
Getting the timing right on updating the model is really tricky. Now, if you enter text in the input box directly it updates the model as for any input box. But when you blur away, it uses the date picker to convert the value to a date object. Previously, as soon as you made changes in the input box it was immediately updating the date, which was preventing typing. Closes angular-ui#18
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It seems like it is no longer possible to type a value. I've tried without any limits (minDate/maxDate) and whenever I type into an empty input it reverts back to today's date. Then, it won't allow me to erase any of the digits. I'd expect date validation to take place on blur/enter/tab. I'm using 0.0.3 with the following default config:
The text was updated successfully, but these errors were encountered: