Added max values on density and diameter inputs
This is to prevent accidentally putting in a too big value
This commit is contained in:
@@ -117,6 +117,7 @@ export const FilamentCreate: React.FC<IResourceComponentsProps & CreateOrClonePr
|
||||
required: true,
|
||||
type: "number",
|
||||
min: 0,
|
||||
max: 100,
|
||||
},
|
||||
]}
|
||||
>
|
||||
@@ -130,6 +131,7 @@ export const FilamentCreate: React.FC<IResourceComponentsProps & CreateOrClonePr
|
||||
required: true,
|
||||
type: "number",
|
||||
min: 0,
|
||||
max: 10,
|
||||
},
|
||||
]}
|
||||
>
|
||||
|
||||
@@ -139,6 +139,7 @@ export const FilamentEdit: React.FC<IResourceComponentsProps> = () => {
|
||||
required: true,
|
||||
type: "number",
|
||||
min: 0,
|
||||
max: 100,
|
||||
},
|
||||
]}
|
||||
>
|
||||
@@ -152,6 +153,7 @@ export const FilamentEdit: React.FC<IResourceComponentsProps> = () => {
|
||||
required: true,
|
||||
type: "number",
|
||||
min: 0,
|
||||
max: 10,
|
||||
},
|
||||
]}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user