aboutsummaryrefslogtreecommitdiff
path: root/src/components/Form/AddNewItemForm.js
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-04-28 16:19:00 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-04-28 16:19:00 +0530
commit5ca14fcf3e949308eb0b2d636169e6601df1908d (patch)
tree9edcbc4163f81d8b52861a2c9e991423764e3e43 /src/components/Form/AddNewItemForm.js
parent60f5d0cf22adc77b236f6c5a6e6aa2c7ff39ed77 (diff)
New Feature: Ability to register new items in the database
Diffstat (limited to 'src/components/Form/AddNewItemForm.js')
-rw-r--r--src/components/Form/AddNewItemForm.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/components/Form/AddNewItemForm.js b/src/components/Form/AddNewItemForm.js
index afd5259..5028af2 100644
--- a/src/components/Form/AddNewItemForm.js
+++ b/src/components/Form/AddNewItemForm.js
@@ -80,7 +80,7 @@ const AddNewItemForm = (props) => {
}>
<div className={"textInputs"}>
<label>
- Item:
+ Item/Service:
<select
value={itemNameValue}
onChange={
@@ -110,7 +110,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);
@@ -156,10 +156,12 @@ const AddNewItemForm = (props) => {
</div>
<div className={"menuButtons"}>
+ <input type="button" value="Register New Item" onClick={() => {
+ alert("Coming Soon")
+ }} />
<input type="button" value="Placeholder1" />
<input type="button" value="Placeholder2" />
- <input type="button" value="Placeholder3" />
- <input type="submit" value="Panic" />
+ <input type="submit" value="Force Add" />
<input
type="submit"
value="add"