-
Notifications
You must be signed in to change notification settings - Fork 546
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
Are there any plans to support input[type="date"]
?
#218
Comments
that's native behaviour |
Maybe it would make sense to have |
It's worth noting that browsers have a Maybe it would make sense if we could choose which property is bound by <input type="date" v-model:valueAsDate="x"> Maybe it's even better if Vue used a Adding <input type="date" v-model.date="x"> Workaround: here we use a small |
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:
I also tried using a numeric modifier to get a timestamp, but it didn't work.
Are there any obstacles to implementing support for date fields?
The text was updated successfully, but these errors were encountered: