fix: quantity min value

This commit is contained in:
yogesh_gohil
2021-12-08 16:27:18 +05:30
parent 5ed62ac1dd
commit 848bbb5953

View File

@ -53,7 +53,7 @@
:content-loading="loading"
type="number"
small
min="1"
min="0.1"
step="any"
@change="syncItemToStore()"
@input="v$.quantity.$touch()"
@ -352,7 +352,7 @@ const rules = {
required: helpers.withMessage(t('validation.required'), required),
minValue: helpers.withMessage(
t('validation.qty_must_greater_than_zero'),
minValue(1)
minValue(0.1)
),
maxLength: helpers.withMessage(
t('validation.amount_maxlength'),