json-schema-form
json-schema-form copied to clipboard
Need a space efficient layout option for large arrays
We do have the tab and table option, however, these are most suited for arrays of objects. The chips layout is fairly space efficient but does not support autocomplete and still displays all options.
We could display the first 10 items and a ... icon, similar to the hideUndefined option.
Probably the best option is array-select. We'd only need an option to add an entry that is not yet in the options list.
We have the following options:
- chips layout (need to support autocomplete see #133)
- using a popup window
- using array-select in conjunction with an "add" input field (basically the same as chips but options open on focus only)
- hiding all elements from a certain index onward and only showing them if ... is clicked