-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
The <option> value attribute behaves differently #4494
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
Maybe we need to force value setting for option? https://github.com/vuejs/vue/blob/dev/src/platforms/web/runtime/modules/dom-props.js#L38 <option>text</option> For option with emty value, option.value will be the text, which is the same in this issue. |
@defcc yeah, just need a special case for 'option'. |
meaningful! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Vue.js version
2.1.6
Reproduction Link
http://sandbox.runjs.cn/show/g9bqfzhr
Steps to reproduce
What is Expected?
What is actually happening?
The text was updated successfully, but these errors were encountered: