Using the example from https://github.com/mozilla-services/react-jsonschema-form#multiple-choices-list -- it should be possible to set the uniqueItems property of a field. A simple way to allow extra metadata like this is to build on the support in Marshmallow for kwargs to be set in the metadata. In a previous issue, the field kwargs were added to the metadata (#39) but these were never serialized out. (So effectively useless except for description and title).
Using the example from https://github.com/mozilla-services/react-jsonschema-form#multiple-choices-list -- it should be possible to set the
uniqueItems
property of a field. A simple way to allow extra metadata like this is to build on the support in Marshmallow forkwargs
to be set in the metadata. In a previous issue, the fieldkwargs
were added to the metadata (#39) but these were never serialized out. (So effectively useless except for description and title).