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

Initial array values are not checked in selects #285

Closed MitchLillie closed 2 years ago

MitchLillie commented 2 years ago

Not sure if this is filed anywhere else, but when providing an initial value to the model, for example {myField: ['banana']}, where myField is a select via either an enum or an anyOf, the checkbox is not checked. Everything else looks ok: the selected value appears in the input, and when opening the select, the items are highlighted... only the checkbox is unchecked.

Screen Shot 2021-08-05 at 3 35 03 PM

Reproduction here: https://codepen.io/mlillie87/pen/ExmdNKy?editors=101