fix: model parameter selector (#6861)
This commit is contained in:
parent
feb4576ee7
commit
e9d6a43907
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ const ParameterItem: FC<ParameterItemProps> = ({
|
||||||
const handleInputChange = (newValue: ParameterValue) => {
|
const handleInputChange = (newValue: ParameterValue) => {
|
||||||
setLocalValue(newValue)
|
setLocalValue(newValue)
|
||||||
|
|
||||||
if (onChange && (parameterRule.name === 'stop' || !isNullOrUndefined(value)))
|
if (onChange && (parameterRule.name === 'stop' || !isNullOrUndefined(value) || parameterRule.required))
|
||||||
onChange(newValue)
|
onChange(newValue)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue