Skip to content

Commit

Permalink
LIMS-667: Make the Requested Imager a required field if a plate is be…
Browse files Browse the repository at this point in the history
…ing created (#733)

Co-authored-by: Mark Williams <[email protected]>
  • Loading branch information
ndg63276 and Mark Williams authored Apr 22, 2024
1 parent 2d23854 commit ae4fe8e
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions client/src/js/modules/types/mx/shipment/views/mx-container-add.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,27 @@
/>
</validation-provider>

<base-input-select
v-model="REQUESTEDIMAGERID"
outer-class="tw-mb-2 tw-py-2"
label="Requested Imager"
description="Imager this container should go into"
name="REQUESTERIMAGER"
:options="imagingImagers"
option-value-key="IMAGERID"
option-text-key="NAME"
/>
<validation-provider
v-if="plateType === 'plate'"
v-slot="{ errors }"
tag="div"
class="tw-mb-2 tw-py-2"
rules="required"
name="Requested Imager"
>

<base-input-select
v-model="REQUESTEDIMAGERID"
outer-class="tw-mb-2 tw-py-2"
label="Requested Imager"
description="Imager this container should go into"
name="REQUESTERIMAGER"
:options="imagingImagers"
option-value-key="IMAGERID"
option-text-key="NAME"
:error-message="errors[0]"
/>
</validation-provider>

<base-input-select
v-model="SCHEDULEID"
Expand Down

0 comments on commit ae4fe8e

Please sign in to comment.