koumoul-dev / vuetify-jsonschema-form

Create beautiful and low-effort forms that output valid data. Published on npm as @koumoul/vjsf.
https://koumoul-dev.github.io/vuetify-jsonschema-form/latest/
MIT License
538 stars 154 forks source link

Schema with conditionals does not work correctly #357

Open josvos opened 2 years ago

josvos commented 2 years ago

Hi.

Attached is a schema with conditional parts that I got from https://rjsf-team.github.io/react-jsonschema-form/ (select "If Then Else" to jump to this example) and that works there as expected (see the form on that page at the right). When I use this schema in vjsf, it shows all fields (both the then and the else part) independent on the condition field ("animal"). I see in the vjsf docs an example with conditionals that does work, so I am wondering why this one does not work as expected.

Schema: schema.json.txt