aboutsummaryrefslogtreecommitdiff
path: root/src/components/Form
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Form')
-rw-r--r--src/components/Form/AddNewItemForm.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Form/AddNewItemForm.js b/src/components/Form/AddNewItemForm.js
index 52a5db7..07b3092 100644
--- a/src/components/Form/AddNewItemForm.js
+++ b/src/components/Form/AddNewItemForm.js
@@ -41,8 +41,8 @@ const AddNewItemForm = (props) => {
const resetAllValues = () => {
setItemNameValue("");
setItemDescValue("");
- setItemQtyValue(0);
- setItemPriceValue(0);
+ setItemQtyValue(1);
+ setItemPriceValue(1);
setItemDiscountValue(0);
setItemGSTValue(props.defGSTValue);
}