CRUDUI

Home > @polyspec/crudui-validator > ChoiceItem

ChoiceItem interface

One choice of a field's items (docs/spec/schema.md, "Choice appearance"). In a choice or multichoice field it may declare the appearance of its label and input; binding rejects these members in other fields.

Signature:

export interface ChoiceItem extends ChoicePair 

Extends: ChoicePair

Properties

Property

Modifiers

Type

Description

attributes?

DeclaredAttributes

(Optional) Attributes written on the choice's input after the field's control attributes.

class?

string

(Optional) Class of the choice's label, after the label classes.

style?

string

(Optional) Inline style of the choice's label.