diff --git a/resources/scripts/components/estimate-invoice-common/CreateItemRow.vue b/resources/scripts/components/estimate-invoice-common/CreateItemRow.vue index 14bdaddc..6f8bf14d 100644 --- a/resources/scripts/components/estimate-invoice-common/CreateItemRow.vue +++ b/resources/scripts/components/estimate-invoice-common/CreateItemRow.vue @@ -54,6 +54,7 @@ type="number" small min="1" + step="any" @change="syncItemToStore()" @input="v$.quantity.$touch()" /> @@ -257,7 +258,7 @@ const quantity = computed({ return props.itemData.quantity }, set: (newValue) => { - updateItemAttribute('quantity', parseInt(newValue)) + updateItemAttribute('quantity', parseFloat(newValue)) }, })