fix: remove float limits when not defined (#8289)
Removed float limits when not defined
This commit is contained in:
parent
aaf36c4316
commit
196b611d1b
1 changed files with 2 additions and 2 deletions
|
|
@ -20,8 +20,8 @@ export default function FloatComponent({
|
|||
id = "",
|
||||
}: InputProps<number, FloatComponentType>): JSX.Element {
|
||||
const step = rangeSpec?.step ?? 0.1;
|
||||
const min = rangeSpec?.min ?? -2;
|
||||
const max = rangeSpec?.max ?? 2;
|
||||
const min = rangeSpec?.min;
|
||||
const max = rangeSpec?.max;
|
||||
|
||||
// Local state for input value
|
||||
const [localValue, setLocalValue] = useState<string>(value.toString());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue