Form control: Enum select
The enumSelect control is an extension of the Form control: Select form control, automatically populating the select control with options from the supplied enum.
Arguments
| enum (required) | Name of the enum to get values from. Any enum from Enums, whether declared in configuration or registered at startup. |
|---|
Example
<field name="type" control="enumSelect" enum="eventType" />