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 |
---|
Example
<field name="type" control="enumSelect" enum="eventType" />