fix(task): disable Confirm button when no date is selected in absolute reminder picker
Prevents emitting a reminder with reminder=null/relativeTo=null when the user clicks Confirm without selecting a date first. Refs #2208
This commit is contained in:
parent
5dcea199d2
commit
9e633b3e82
|
|
@ -58,6 +58,7 @@
|
||||||
v-if="activeForm !== null"
|
v-if="activeForm !== null"
|
||||||
class="reminder__close-button"
|
class="reminder__close-button"
|
||||||
:shadow="false"
|
:shadow="false"
|
||||||
|
:disabled="activeForm === 'absolute' && reminderDate === null"
|
||||||
@click="confirmAndClose(close)"
|
@click="confirmAndClose(close)"
|
||||||
>
|
>
|
||||||
{{ $t('misc.confirm') }}
|
{{ $t('misc.confirm') }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue