mirror of
https://github.com/BarkProductions/barkman.git
synced 2026-06-13 06:11:55 +00:00
fixed status
This commit is contained in:
@@ -15,7 +15,8 @@ function EditItem() {
|
||||
initialValues: {
|
||||
name: "",
|
||||
brand: "",
|
||||
status: "",
|
||||
statusId: "",
|
||||
status: {name: "", id: ""},
|
||||
serialNumber: "",
|
||||
rentalPrice: 0,
|
||||
replacementCost: 0,
|
||||
@@ -94,8 +95,8 @@ function EditItem() {
|
||||
placeholder="Brand" {...editItemForm.getInputProps('brand')}/>
|
||||
<TextInput withAsterisk key={editItemForm.key('name')} size="md" label="Name"
|
||||
placeholder="Name" {...editItemForm.getInputProps('name')}/>
|
||||
<TextInput size="md" key={editItemForm.key('status')} label="Status"
|
||||
placeholder="Status" {...editItemForm.getInputProps('status')}/>
|
||||
<TextInput size="md" key={editItemForm.key('statusId')} label="Status"
|
||||
placeholder="Status" {...editItemForm.getInputProps('statusId')}/>
|
||||
<TextInput size="md" key={editItemForm.key('serialNumber')} label="Serial Number"
|
||||
placeholder="Serial Number"{...editItemForm.getInputProps('serialNumber')}/>
|
||||
<NumberInput size="md" key={editItemForm.key('rentalPrice')} label="Rental Price"
|
||||
|
||||
Reference in New Issue
Block a user