diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-04-30 11:11:11 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-04-30 11:11:11 +0530 |
commit | af6f3e5955f50699aea2868cea9400c50aee5bfd (patch) | |
tree | f7de6746fad7243d14673097aab1cd283f6712e4 /src/components/Form | |
parent | c06186fb9ee0a234236ce3fee93df73df4d17128 (diff) |
minor design change/bug fix
Diffstat (limited to 'src/components/Form')
-rw-r--r-- | src/components/Form/AddNewItemForm.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/Form/AddNewItemForm.js b/src/components/Form/AddNewItemForm.js index d82771a..95145b1 100644 --- a/src/components/Form/AddNewItemForm.js +++ b/src/components/Form/AddNewItemForm.js @@ -82,7 +82,7 @@ const AddNewItemForm = (props) => { }> <div className={"textInputs"}> <label> - Item/Service: + Item/Service: <select value={itemNameValue} onChange={ @@ -102,7 +102,7 @@ const AddNewItemForm = (props) => { </label> <label> - Description:<input type="text" step="0.1" value={itemDescValue} onChange={ + Description: <input type="text" step="0.1" value={itemDescValue} onChange={ (event) => { setItemDescValue(event.target.value); } @@ -112,7 +112,7 @@ const AddNewItemForm = (props) => { <div className={"numericInputs"}> <label> - Quantity:<input type="number" min="1" value={itemQtyValue} onInput={ + Quantity: <input type="number" min="1" value={itemQtyValue} onInput={ (event) => { const value = event.target.value; setItemQtyValue(value); @@ -174,7 +174,7 @@ const AddNewItemForm = (props) => { (emptyItemNames.includes(itemNameValue) || itemQtyValue <= 0 || itemPriceValue <= 0 - || itemGSTValue <= 0 + || itemGSTValue <= 0 ) ? "disabled" : "" } /> |