Skip to content

v-model not working with <select is="custom-select"> #6066

Closed
@mrcsmcln

Description

@mrcsmcln

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions