Skip to content

v-model.number does not work for select tag #2252

Closed
@deb17

Description

@deb17

Version

3.0.0

Reproduction link

https://codepen.io/deb17/pen/rNebLBK

Steps to reproduce

Just select a number from the dropdown - the type shows up as 'string'.

What is expected?

The type should be 'number'.

What is actually happening?

The type is 'string'.


This is working correctly in Vue 2. See https://codepen.io/deb17/pen/mdPaYvO

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't workinghas PRA pull request has already been submitted to solve the issuehas workaroundA workaround has been found to avoid the problem

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions