@serenity-is/corelib / EnumEditorOptions
Interface: EnumEditorOptions
Defined in: src/ui/editors/enumeditor.ts:10
Options for the EnumEditor.
Extends
Properties
allowClear?
optionalallowClear:boolean
Defined in: src/ui/editors/comboboxeditor.tsx:19
Whether the selection can be cleared.
Inherited from
ComboboxCommonOptions.allowClear
delimited?
optionaldelimited:boolean
Defined in: src/ui/editors/comboboxeditor.tsx:21
Whether multiple items can be selected.
Inherited from
ComboboxCommonOptions.delimited
enumKey?
optionalenumKey:string
Defined in: src/ui/editors/enumeditor.ts:12
Key of the enum to load items from.
enumType?
optionalenumType:any
Defined in: src/ui/editors/enumeditor.ts:14
The enum type to load items from.
flags?
optionalflags:boolean
Defined in: src/ui/editors/enumeditor.ts:21
Whether the enum is a set of flags, like a [Flags] enum on the server side. Along with the multiple option, the value is a number, the members selected OR-ed together, or null for none, and the members combining others, like SourceAdapter of the list request capabilities, are offered too, while none (zero) is not. Without multiple, a single member is selected as usual. When it is not set, it is what the enum is registered with, see the enumFlags option of registerEnum.
iconField?
optionaliconField:string
Defined in: src/ui/editors/comboboxeditor.tsx:27
Name of the item field containing the icon class.
Inherited from
ComboboxCommonOptions.iconField
minimumResultsForSearch?
optionalminimumResultsForSearch:any
Defined in: src/ui/editors/comboboxeditor.tsx:23
Minimum results required to show the search box.
Inherited from
ComboboxCommonOptions.minimumResultsForSearch
multiple?
optionalmultiple:boolean
Defined in: src/ui/editors/comboboxeditor.tsx:25
Whether multiple items can be selected.