You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mentioned in a few different threads, but I think it deserves its own issue.
When an 'options' property is present on a property, it potentially allows the selection of more than one item.
In JSON, if multiple are selected, this gets encoded as an array of strings.
It would be helpful for our implementation if we can add an additional multiple property on the options object.
If multiple is set to true:
The value will always be encoded as an array. The array can have 0 or more properties. 0 if none is selected.
minItems and maxItems are allowed to be set.
value and selectedValues should be an array.
If multiple is set to false, or omitted (the default)
The value will be encoded as a string.
minItems and maxItems are ignored/forbidden.
value and selectedValues should be a string.
The text was updated successfully, but these errors were encountered:
evert
changed the title
Add a 'multiple'
Add a 'multiple' property to options
Jun 16, 2021
Mentioned in a few different threads, but I think it deserves its own issue.
When an 'options' property is present on a property, it potentially allows the selection of more than one item.
In JSON, if multiple are selected, this gets encoded as an array of strings.
It would be helpful for our implementation if we can add an additional
multiple
property on the options object.If
multiple
is set to true:minItems
andmaxItems
are allowed to be set.value
andselectedValues
should be an array.If
multiple
is set to false, or omitted (the default)minItems
andmaxItems
are ignored/forbidden.value
andselectedValues
should be a string.The text was updated successfully, but these errors were encountered: