case 4129

This commit is contained in:
2022-03-10 15:11:15 +00:00
parent 6bbfa6fa64
commit d262282c83

View File

@@ -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')"
></v-select>
@@ -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,