@vttforge/core / SelectPromptField
Interface: SelectPromptField ​
Extends ​
PromptFieldBase
Properties ​
blank? ​
readonlyoptionalblank?:string
Text for an empty first option. Left out, there is none.
hint? ​
readonlyoptionalhint?:string
Hint under the input, as a localization key or text.
Inherited from ​
PromptFieldBase.hint
label ​
readonlylabel:string
Label, as a localization key or text.
Inherited from ​
PromptFieldBase.label
name ​
readonlyname:string
The key in the result, and the input's name.
Inherited from ​
PromptFieldBase.name
options ​
readonlyoptions:Readonly<Record<string,string>> | readonlySelectPromptOption[]
{ value: label }, or a list when order or groups matter.
type ​
readonlytype:"select"
value? ​
readonlyoptionalvalue?:string