feat: disable past date from due date
This commit is contained in:
parent
2bcbfbb20d
commit
c3269e28b8
1 changed files with 3 additions and 0 deletions
|
|
@ -33,6 +33,9 @@ const createdAt = defineModel<Date | string>('createdAt');
|
|||
:label="$t('quotation.dueDate')"
|
||||
:readonly
|
||||
v-model="dueDate"
|
||||
:disabled-dates="
|
||||
(date: Date) => date.getTime() < Date.now() - 24 * 60 * 60 * 1000
|
||||
"
|
||||
class="col-6 col-md-2"
|
||||
/>
|
||||
<q-input
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue