-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Param attribute "number" set 0 as default #3577
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
Comments
Same problem as #3541, but for 1.0 |
The |
The v-model directive will reset the input's value on blur, and if you give a number param, it will always change the value to Number. |
@Buwder you simply copied the comment above yours. Are you going to add anything of your own or can I delete your comment? |
@LinusBorg this issue seems to be fixed in 2.0 ? |
That may be the case(can't verify now) but this issue is tagged as 1.0... :-P |
Vue.js version
1.0.26
Reproduction Link
https://jsfiddle.net/59Lh3310/
Steps to reproduce
What is Expected?
Empty input
What is actually happening?
The value is set to 0 (even if the default value is set to null) because of Param Attributes Number (http://vuejs.org/guide/forms.html#number)
The text was updated successfully, but these errors were encountered: