Skip to content

Commit

Permalink
fix(AddonFoodsPrompt): disable all input when no confirmed (V4-1271)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukashroch committed Oct 1, 2024
1 parent 5bba002 commit 5f5fcce
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
</v-btn-toggle>
<v-select
dense
:disabled="addon.confirmed === false"
hide-details="auto"
item-text="localName"
item-value="code"
Expand All @@ -39,7 +40,7 @@
<v-select
v-model="addon.portionSize.unit"
dense
:disabled="!addon.data"
:disabled="addon.confirmed === false || !addon.data"
hide-details="auto"
:item-text="(item) => getStandardUnitEstimateIn(item)"
item-value="name"
Expand All @@ -52,7 +53,7 @@
<v-select
v-model="addon.portionSize.quantity"
dense
:disabled="!addon.data"
:disabled="addon.confirmed === false || !addon.data"
hide-details="auto"
:items="[0.25, 0.5, 0.75, 1, 1.5, 2, 3, 4, 5, 6, 7, 8, 9, 10]"
:label="promptI18n.quantity"
Expand Down

0 comments on commit 5f5fcce

Please sign in to comment.