This commit is contained in:
2021-05-07 17:55:15 +00:00
parent d570a13c77
commit ea9ba291ae
3 changed files with 20 additions and 6 deletions

View File

@@ -88,6 +88,8 @@
v-if="form().showMe(this, 'Items.WorkOrderItemSummary')"
cols="12"
>
servererrors:
{{ form().serverErrors(this, `items[${activeItemIndex}].notes`) }}
<v-textarea
v-model="value.items[activeItemIndex].notes"
:readonly="formState.readOnly"
@@ -96,7 +98,8 @@
:error-messages="
form().serverErrors(this, `items[${activeItemIndex}].notes`)
"
ref="Items.Notes"
:ref="`items[${activeItemIndex}].notes`"
:rules="[form().required(this, `items[${activeItemIndex}].notes`)]"
data-cy="Items.Notes"
@input="fieldValueChanged(`items[${activeItemIndex}].notes`)"
auto-grow
@@ -115,8 +118,10 @@
:readonly="formState.readOnly"
:disabled="isDeleted"
:label="$ay.t('Sequence')"
ref="sequence"
:rules="[form().integerValid(this, 'sequence')]"
:ref="`items[${activeItemIndex}].sequence`"
:rules="[
form().integerValid(this, `items[${activeItemIndex}].sequence`)
]"
:error-messages="
form().serverErrors(this, `items[${activeItemIndex}].sequence`)
"