You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a <select v-model="value"> tag with a selected option: <option selected>Value</option>.
What is Expected?
I expect not warning because in my app, I initialize the Vue values with the values extracted from the HTML (to keep a no-js compatibility).
This has been discussed in #4733 and implemented in #4770
<select v-model="first">:
inline selected attributes on will be ignored when using v-model. Declare initial values in the component's data option instead.
The text was updated successfully, but these errors were encountered:
Vue.js version
2.2.0
Reproduction Link
http://jsfiddle.net/wdgfnn0h/3/
Steps to reproduce
Create a
<select v-model="value">
tag with a selected option:<option selected>Value</option>
.What is Expected?
I expect not warning because in my app, I initialize the Vue values with the values extracted from the HTML (to keep a no-js compatibility).
This has been discussed in #4733 and implemented in #4770
What is actually happening?
A warning is shown in the console:
The text was updated successfully, but these errors were encountered: