You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file packages/antd/src/widgets/SelectWidget/index.tsx on line 86, the following line can be found: mode={typeof multiple !== 'undefined' ? 'multiple' : undefined}
considering false as a truthy value for multiple display.
I suggest the following replacement: mode={multiple ? 'multiple' : undefined}
Prerequisites
What theme are you using?
antd
Version
5.x
Current Behavior
When defining a root level oneOf property with antd them. rjsf render a broken multiple select.
bug is available in official playground using this schema
Expected Behavior
The rendered component should be a single selector or a multiple selector UI with the limitation of only one selected item
Steps To Reproduce
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: