Skip to content

Commit

Permalink
Update PumpEditorForm.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
alex9849 authored Nov 20, 2020
1 parent d62b1d8 commit 9df973f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions frontend/src/components/PumpEditorForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
type="number"
suffix="ms"
outlined
@input="$v.value.syrupTimePerClInMs.$touch()"
:rules="[val => $v.value.syrupTimePerClInMs.required || 'Required',
val => $v.value.syrupTimePerClInMs.minValue || 'Min 1']"
@input="$v.value.timePerClInMs.$touch()"
:rules="[val => $v.value.timePerClInMs.required || 'Required',
val => $v.value.timePerClInMs.minValue || 'Min 1']"
/>
<q-input
label="Pump time per cl (Syrup)"
Expand Down Expand Up @@ -86,11 +86,11 @@ export default {
required,
minValue: minValue(1)
},
tubeCapacityInMl: {
syrupTimePerClInMs: {
required,
minValue: minValue(1)
},
syrupTimePerClInMs: {
tubeCapacityInMl: {
required,
minValue: minValue(1)
},
Expand Down

0 comments on commit 9df973f

Please sign in to comment.