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:
kolaente 2026-02-12 13:58:09 +01:00
parent 5dcea199d2
commit 9e633b3e82
1 changed files with 1 additions and 0 deletions

View File

@ -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') }}