Lists
Arrays of strings or numbers are rendered with a combobox component. Editable arrays of other types or object with patternProperties are rendered as dynamic lists with actions like add, delete, sort, copy, etc
Comboboxes (lists of chips)
Simple strings and numbers can be displayed as comboboxes.
Editable lists
A more complex list component is also available. You can use the summary expression parameter to customize the layout of list items when they are not edited.
Indexed lists (patternProperties)
Dynamic properties expressed with patternProperties are displayed as a different kind of list.
Lists with shared clipboard
It is possible to handle copy-pasting items accross lists by using the clipboardKey attribute. In this case it is your responsibility to ensure that the lists that share a common clipboardKey value also share compatible items schemas.
Edition modes
The layout.listEditMode attribute can be used to control the edition mode of a list of objects.
Possible values are:
- "inline" - all items are editable in place, items will never be in summary/readOnly state
- "inline-single" (default) - the user must select an item for edition, this item is then editable in place
- "dialog" - the user must select an item for edition, this is then editable in a dialog
- "menu" - the user must select an item for edition, this is then editable in a menu