Skip to content

Are there any plans to support input[type="date"]? #218

@cawa-93

Description

@cawa-93

I did not find any information about it. If has there been a discussion of this issue - please provide a link.

I'm surprised that Vue treats date fields like regular text fields, rather than converting values to the appropriate data type, as it does with numeric fields.

I expected to receive a "date" object or a timestamp with the following code:

<input type="date" v-model="date">

I also tried using a numeric modifier to get a timestamp, but it didn't work.

<input type="date" v-model.number="date">

Are there any obstacles to implementing support for date fields?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions