rjsf-team / react-jsonschema-form

A React component for building Web forms from JSON Schema.
https://rjsf-team.github.io/react-jsonschema-form/
Apache License 2.0
14.11k stars 2.18k forks source link

Select bug when multiple oneOf are nested #4147

Closed AmauryBes closed 5 months ago

AmauryBes commented 5 months ago

Prerequisites

What theme are you using?

core

Version

5.x

Current Behavior

When having nested oneOf the top select needs 2 selection to actively swtich to the proper value.

Expected Behavior

Select that select on each click

Steps To Reproduce

playground

switch between car and bike on the top select, from car to bike you'll need to select bike twice

Environment

No response

Anything else?

No response

nickgros commented 5 months ago

Maybe a duplicate of #3977?

heath-freenome commented 5 months ago

@AmauryBes This seems like a duplicate of #3977 , so we are closing it as such. If you'd like to get this issue fixed soon, I would suggest trying to fix it yourself and pushing a PR. Feel free to reach out if you have any questions