From d262282c831b5cb05a7e4e4d06305c98e5a3f6b1 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 10 Mar 2022 15:11:15 +0000 Subject: [PATCH] case 4129 --- ayanova/src/views/home-notify-subscription.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ayanova/src/views/home-notify-subscription.vue b/ayanova/src/views/home-notify-subscription.vue index ca5ae61e..113acc2e 100644 --- a/ayanova/src/views/home-notify-subscription.vue +++ b/ayanova/src/views/home-notify-subscription.vue @@ -152,7 +152,10 @@ :readonly="formState.readOnly" :label="$ay.t('AyaType')" data-cy="ayaType" - :rules="[form().integerValid(this, 'ayaType')]" + :rules="[ + form().required(this, 'ayaType'), + form().integerValid(this, 'ayaType') + ]" :error-messages="form().serverErrors(this, 'ayaType')" @input="fieldValueChanged('ayaType')" > @@ -244,7 +247,7 @@ export default { id: 0, concurrency: 0, userId: this.$store.state.userId, - ayaType: 0, + ayaType: 10, //<--this is deliberate to force a valid type to be selected so that user *must* have a selection if typed, save will reset to zero if not used eventType: 0, advanceNotice: "00:00:00", idValue: 0,