mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fix NumberInput not respecting min and max values on stepper click
This commit is contained in:
parent
da6c690d7b
commit
e7ee4ecac7
@ -142,6 +142,8 @@ const IAINumberInput = (props: Props) => {
|
||||
<NumberInput
|
||||
className="invokeai__number-input-root"
|
||||
value={valueAsString}
|
||||
min={min}
|
||||
max={max}
|
||||
keepWithinRange={true}
|
||||
clampValueOnBlur={false}
|
||||
onChange={handleOnChange}
|
||||
|
Loading…
Reference in New Issue
Block a user