mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 20:37:48 +00:00
fix: input form value type error (#3399)
This commit is contained in:
@@ -41,7 +41,8 @@ const MyNumberInput = (props: Props) => {
|
||||
? register(name, {
|
||||
required: props.isRequired,
|
||||
min: props.min,
|
||||
max: props.max
|
||||
max: props.max,
|
||||
valueAsNumber: true
|
||||
})
|
||||
: {})}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user