ChoicePicker
A list of options, as checkboxes or chips. The user picks one, or several with variant "multipleSelection". Bind value with { "@path": "/x" } to read the chosen values as a list. Give it a label.
Examples
Loading examples…
Props
| Prop | Type | Description |
|---|---|---|
checks | object[] | Validation rules. The control shows the first failed one |
value | string[] | The chosen option values. Bind it with { "@path": "/x" } to a string list |
options | string | object[] | Strings or { "value", "label", "description"? } |
label | string | The visible label of the field. Always set it |
variant | "multipleSelection" | "mutuallyExclusive" | Default "mutuallyExclusive": the user picks one option |
displayStyle | "checkbox" | "chips" | Default "checkbox". "chips" shows the options as pills |
filterable | boolean | Default false. Shows a field that filters the options |
weight | number | flex-grow in a Row or Column |
disabled | boolean | |
required | boolean |