fix: refs #8647 set default value for model in VnDate component

This commit is contained in:
Jorge Penadés 2025-02-28 09:57:06 +01:00
parent 942004d710
commit 1c44aceccf
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<script setup> <script setup>
const model = defineModel({ type: [String, Number], required: true }); const model = defineModel({ type: [String, Number], default: '' });
</script> </script>
<template> <template>
<QDate v-model="model" :today-btn="true" :options="$attrs.options" /> <QDate v-model="model" :today-btn="true" :options="$attrs.options" />