-
Notifications
You must be signed in to change notification settings - Fork 27.4k
input type='number' value is not cleared on property reset #623
Comments
Actually, that works as intended. :-( The issue is that html5 browsers do -- Misko 2011/10/25 Philipp Müller <
|
That's not true. You can set input@type=number to blank either via UI or programmatically. Unless I'm missing something, this bug is valid. |
You are right, so why does it not work then. ok, valid bug. 2011/10/26 Igor Minar <
|
The case for 'undefined' value is missing in numericRegexpInputType(). I created a patch that works for me: https://gist.github.com/1320239 edit: sorry, didn't mean to close the issue... |
The bug still exists in v0.10.5. Could you please have a look at my patch? |
Sorry we dropped the ball, and thanks for reminding us. Here is the fix BTW, may we request that you send us a pull request with tests next time. -- Misko 2011/11/15 Philipp Müller <
|
Thanks! I'll try to send a pull request + tests the next time... |
Hi,
please take a look at http://jsfiddle.net/pktYz/
Press the CLICK ME button
Tested with AngularJS v0.10.4, Firefox 7, Chrome 15, IE 8
The text was updated successfully, but these errors were encountered: