ChoiceSchemaOptionsinterface
{
readonly options: PossibleChoiceOptions<O>;
readonly value?: O | I;
}| Property | Type | |
|---|---|---|
.options | PossibleChoiceOptions<O> | Specify correct options using a dictionary of entries. required readonly |
.value | OI | Default option for the value. readonly |
Options for ChoiceSchema.
options— the allowed choices, as a{ key: title }dictionary or an array of keys.value— default option used when the input isundefined.