This commit is contained in:
Henry 2023-06-24 01:22:39 +01:00
parent 554c0a900d
commit 40662b087a
2 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,7 @@ export const Input = ({ inputParam, value, onChange, disabled = false, showDialo
onChange(e.target.value)
}}
inputProps={{
step: 0.1,
style: {
height: inputParam.rows ? '90px' : 'inherit'
}

View File

@ -205,6 +205,7 @@ const NodeInputHandler = ({ inputAnchor, inputParam, data, disabled = false, isA
)}
{(inputParam.type === 'string' || inputParam.type === 'password' || inputParam.type === 'number') && (
<Input
key={data.inputs[inputParam.name]}
disabled={disabled}
inputParam={inputParam}
onChange={(newValue) => (data.inputs[inputParam.name] = newValue)}