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,