You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 3.7.6 you can use this to click and pop up a date picker, but the text field allows input as well. Should it set the value on blur as well as pressing return to leave the field like a v-text-input would for consistency. Can be confusing when you change it and move away without hitting enter. The field shows the new value but hasn't passed it to to the v-model.
<template>
<v-app>
<v-container>
<v-date-input v-model="the_date" />
Value is: {{ the_date }}
</v-container>
</v-app>
</template>
<script setup>
import { ref } from 'vue'
const the_date = ref(new Date())
</script>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In 3.7.6 you can use this to click and pop up a date picker, but the text field allows input as well. Should it set the value on blur as well as pressing return to leave the field like a v-text-input would for consistency. Can be confusing when you change it and move away without hitting enter. The field shows the new value but hasn't passed it to to the v-model.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions