We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 903e965 commit db2462fCopy full SHA for db2462f
packages/antd/src/widgets/RadioWidget/index.tsx
@@ -61,7 +61,7 @@ export default function RadioWidget<T = any, S extends StrictRJSFSchema = RJSFSc
61
id={optionId(id, i)}
62
name={id}
63
autoFocus={i === 0 ? autofocus : false}
64
- disabled={Array.isArray(enumDisabled) && enumDisabled.indexOf(option.value) !== -1}
+ disabled={disabled || (Array.isArray(enumDisabled) && enumDisabled.indexOf(option.value) !== -1)}
65
key={i}
66
value={String(i)}
67
>
0 commit comments