diff options
author | dartcafe <github@dartcafe.de> | 2021-07-02 00:37:03 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-07-02 00:37:03 +0300 |
commit | 59ca08af61eb3fe944421ecd3b0a4113661b1a99 (patch) | |
tree | 7a366552f02c39c6559db4e00a3700e630d697d7 /src/js/components/Options | |
parent | ffb69b3fb54e9a51a788fd519880fe57c78021cd (diff) |
disable "Add time" until a date is selected
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/Options')
-rw-r--r-- | src/js/components/Options/OptionsDateAdd.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/components/Options/OptionsDateAdd.vue b/src/js/components/Options/OptionsDateAdd.vue index 87467804..2f95e530 100644 --- a/src/js/components/Options/OptionsDateAdd.vue +++ b/src/js/components/Options/OptionsDateAdd.vue @@ -42,7 +42,7 @@ <button v-if="useTime" @click="removeTime"> {{ t('polls', 'Remove time') }} </button> - <button v-else @click="addTime"> + <button v-else :disabled="!dateOption.isValid" @click="addTime"> {{ t('polls', 'Add time') }} </button> </div> |