rjsf-team/react-jsonschema-form
View on GitHubui:enumDisabled not working with OneOfField
Open
#2776 opened on Mar 23, 2022
featurehelp wantedmaterial-ui
Description
Prerequisites
- I have read the documentation;
- In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.
- Ideally, I'm providing a sample JSFiddle or a shared playground link demonstrating the issue.
Description
Setting ui:enumDisabled options on a oneOf schema does not pass the enumDisabled options to the widget being rendered.
Steps to Reproduce
- Go to this playground fiddle
- observe that
'multi['ui:enumDisabled']: [1]does not disable the second option
Expected behavior
The option to be disabled
Version
"@rjsf/core": "^4.0.1",
"@rjsf/material-ui": "^4.0.1",