diff --git a/ayanova/src/components/work-order-items.vue b/ayanova/src/components/work-order-items.vue index 003e0c55..5175e2a2 100644 --- a/ayanova/src/components/work-order-items.vue +++ b/ayanova/src/components/work-order-items.vue @@ -140,7 +140,7 @@ :error-messages=" form().serverErrors(this, `items[${activeItemIndex}].techNotes`) " - ref="items.techNotes" + :ref="`items[${activeItemIndex}].techNotes`" data-cy="items.techNotes" @input="fieldValueChanged(`items[${activeItemIndex}].techNotes`)" auto-grow @@ -159,7 +159,7 @@ v-model="value.items[activeItemIndex].requestDate" :readonly="formState.readOnly" :disabled="isDeleted" - ref="requestDate" + :ref="`items[${activeItemIndex}].requestDate`" data-cy="requestDate" :error-messages=" form().serverErrors(this, `items[${activeItemIndex}].requestDate`) @@ -190,7 +190,7 @@ `items[${activeItemIndex}].workorderItemStatusId` ) " - ref="workorderItemStatusId" + :ref="`items[${activeItemIndex}].workorderItemStatusId`" data-cy="workorderItemStatusId" prepend-icon="$ayiEdit" @click:prepend="handleEditItemStatusClick()" @@ -243,7 +243,7 @@ `items[${activeItemIndex}].workorderItemPriorityId` ) " - ref="workorderItemPriorityId" + :ref="`items[${activeItemIndex}].workorderItemPriorityId`" data-cy="workorderItemPriorityId" prepend-icon="$ayiEdit" @click:prepend="handleEditItemPriorityClick()" @@ -285,7 +285,7 @@ :readonly="formState.readOnly" :disabled="isDeleted" :label="$ay.t('WorkOrderItemWarrantyService')" - ref="warrantyService" + :ref="`items[${activeItemIndex}].warrantyService`" data-cy="warrantyService" :error-messages=" form().serverErrors( @@ -301,7 +301,7 @@