Skip to content

Commit c8cc8e6

Browse files
committed
Fixed disable condition for stringArrayWrappersParametersMaxCount option input
1 parent 4f48717 commit c8cc8e6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

App/containers/OptionsContainer.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,11 @@ const Options = ({dispatch, options}) => {
286286
min="2"
287287
step="1"
288288
onChange={(event, {value}) => dispatch(actions.setStringArrayWrappersParametersMaxCount(parseInt(value)))}
289-
disabled={options.stringArrayWrappersType !== STRING_ARRAY_WRAPPERS_TYPE_FUNCTION}/>
289+
disabled={
290+
!options.stringArray
291+
|| !options.stringArrayWrappersCount
292+
|| options.stringArrayWrappersType !== STRING_ARRAY_WRAPPERS_TYPE_FUNCTION
293+
}/>
290294

291295
<Form.Checkbox
292296
label='String Array Wrappers Chained Calls'

0 commit comments

Comments
 (0)