add fix
This commit is contained in:
parent
554c0a900d
commit
40662b087a
|
|
@ -37,6 +37,7 @@ export const Input = ({ inputParam, value, onChange, disabled = false, showDialo
|
||||||
onChange(e.target.value)
|
onChange(e.target.value)
|
||||||
}}
|
}}
|
||||||
inputProps={{
|
inputProps={{
|
||||||
|
step: 0.1,
|
||||||
style: {
|
style: {
|
||||||
height: inputParam.rows ? '90px' : 'inherit'
|
height: inputParam.rows ? '90px' : 'inherit'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -205,6 +205,7 @@ const NodeInputHandler = ({ inputAnchor, inputParam, data, disabled = false, isA
|
||||||
)}
|
)}
|
||||||
{(inputParam.type === 'string' || inputParam.type === 'password' || inputParam.type === 'number') && (
|
{(inputParam.type === 'string' || inputParam.type === 'password' || inputParam.type === 'number') && (
|
||||||
<Input
|
<Input
|
||||||
|
key={data.inputs[inputParam.name]}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
inputParam={inputParam}
|
inputParam={inputParam}
|
||||||
onChange={(newValue) => (data.inputs[inputParam.name] = newValue)}
|
onChange={(newValue) => (data.inputs[inputParam.name] = newValue)}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue