Home > @polyspec/crudui-generator-core > OptionModel
OptionModel interface
One static option for select/choice/multichoice/search.
Signature:
export interface OptionModel
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
(Optional) Input attributes of the choice (choice list | |||
|
string |
(Optional) Label class of the choice (choice list | ||
|
(Optional) Group of a select option inside a choice list group, present only for such an option. | |||
|
string |
(Optional) DOM id for the paired input (choice/multichoice). | ||
|
boolean |
This option equals the spec default (choice data-is-default). | ||
|
string |
Display label (translated). | ||
|
boolean |
Selected/checked for the current value. | ||
|
string |
(Optional) Label inline style of the choice (choice list | ||
|
string |
Submitted value. |