react-jsonschema-form
react-jsonschema-form copied to clipboard
Select widget broken for AntD theme in playground
Prerequisites
- [X] I have searched the existing issues
- [X] I understand that providing a SSCCE example is tremendously useful to the maintainers.
- [X] I have read the documentation
- [ ] Ideally, I'm providing a sample JSFiddle, Codesandbox.io or preferably a shared playground link demonstrating the issue.
What theme are you using?
antd
Version
5.6.0
Current Behavior
With the new release of version 5.6.0 (which contained a probably somewhat related entry: Treat multiple as a boolean rather than comparing against undefined in the SelectWidget, fixing https://github.com/rjsf-team/react-jsonschema-form/issues/3595 ), the select widget when used with the AntD theme is broken IN THE PLAYGROUND ONLY (it works properly with a local installation).
This occurs both in "Widgets" example (simple select) and in "One of" examble (select used to discriminate).
The select just display the first value and if clicked it doesn't display any other value to pick.
Expected Behavior
The select widget for antd theme should display and let pick a value as in the default theme.
Steps To Reproduce
- Go to the playground (sorry, not sure how to provide a specific link there)
- Switch to "antd" theme
- Select "Widgets" or "One of" example
- Try to change the select input value
Environment
- OS: N/A
- Node: N/A
- npm: N/A
Anything else?
As noted in the comment, there's probably some issue with the build system configuration of the playground.
@AnimaLupi Wow, antd is so picky! Are you willing to provide a better fix than the one provided 5.6.0?
This seems to be working in CodeSandbox, so this is likely an issue with our Playground build configuration rather than antd implementation
This seems to be working in CodeSandbox, so this is likely an issue with our Playground build configuration rather than antd implementation
Correct, I did a local test installation and it's working properly.
Should I close this issue and open another for the Playground build, edit this one or leave it as it is?
@AnimaLupi, please edit this one to make the real issue clear. Thanks!
any updates on this issue?
@kolbak as far as I can tell no one is working on a fix. Are you open to doing it?