A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue/issues/6066 below:

`v-model` not working with `<select is="custom-select">` · Issue #6066 · vuejs/vue · GitHub

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 than value.

What is expected?

v-model should automatically wire up the value prop with its expression.

What is actually happening?

No value is being passed to the value prop. I'm getting the default value undefined, instead.

My only guess is that v-model is binding before the component is mounted.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4