-
-
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
v-model
not working with <select is="custom-select">
#6066
Comments
Yeah, it looks like the fact that there's a |
Thanks. I'd also like to add that the same thing is happening for <option :value="value" is="custom-option"></option> The |
That was faster than ever 🚄 |
I would also like to point out that when I run that fiddle, I get the following in the console window: This is on Vue 2.3.3 |
Version
2.3.4
Reproduction link
https://jsfiddle.net/b6wa6drg/4/
https://jsfiddle.net/k4sb93uj/1/
Steps to reproduce
See minimal reproduction links.
v-model
works as expected with<custom select>
but not with<select is="custom-select">
. The longhand works when the model prop is named something other thanvalue
.What is expected?
v-model
should automatically wire up thevalue
prop with its expression.What is actually happening?
No value is being passed to the
value
prop. I'm getting the default valueundefined
, instead.My only guess is that
v-model
is binding before the component is mounted.The text was updated successfully, but these errors were encountered: