CRUDUI

Home > @polyspec/crudui-validator > ChoiceGroup

ChoiceGroup interface

A group of choices in a choice list (docs/spec/schema.md, "Choice groups"). Only the choice list of a select field and the in rule accept groups; binding rejects a group in other fields.

Signature:

export interface ChoiceGroup 

Properties

Property

Modifiers

Type

Description

choices

ChoicePair[]

One or more choices of the group in list order; their values are distinct across the list.

label

ItemLabel

Display label of the group.