CRUDUI

Home > @polyspec/crudui-validator > Items

Items type

Option source: an array of labels whose indexes are the values, a choice list (ChoiceList), a static value→label map (ItemLabelMap) or a dynamic ItemsSource (docs/spec/schema.md, "Languages and choices").

Signature:

export type Items = StaticItem[] | ChoiceItems | ItemLabelMap | ItemsSource;

References: StaticItem, ChoiceItems, ItemLabelMap, ItemsSource