Hi, Is there any way for me to use multi select inside jsonschema form

Hi, Is there any way for me to use multi select inside jsonschema form.

Looking at the docs and https://github.com/rjsf-team/react-jsonschema-form/issues/41, this is what I ended up doing.

Example of multiselect 1

Note : if you remove “uniqueItems” : true this also works but it presents a different interface which takes more space but is more readable (no need to scroll to find the few selected items).

An example with a select all wrapper

And this is how I use a “select all” trick. But then you need to process the form output and use the full range of values when metaField.select_all is ‘Yes’, and the value of metaField.selectableField otherwise.

Note : the first example works well in both cases if users now that Ctrl + A can select all.