-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
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
domProps has twice the "value" key #6917
Comments
|
Ok thanks. <input
:type="'radio'"
v-model="model"
:value="'foo'"
> If I replace dynamic type |
Yes, because v-model expands into different props depending on the type binding. |
I understand.
If I understand, this will never work ? is it possible to be warned in DEV mode about this case ? |
Version
2.5.2
Reproduction link
https://jsfiddle.net/50wL7mdz/71920/
Steps to reproduce
run the jsfiddle program and look at the textarea content, more precisely the last "domProps"
What is expected?
do not generate same key twice
What is actually happening?
... .domProps:{"value":'foo',"value":(model)} ...
This will rise an error in strict mode.
The JSFiddle example don't rise the error because it not in strict mode.
I have discovered the issue using webpack + babel + test on IE11
The text was updated successfully, but these errors were encountered: