This property lets you define the possible values that an Administrator can pick from in a checkboxes
, radios
or select
field.
This should be an object, with keys -> values as saved values -> display values. The display values will be shown in alphabetical order.
Alternately you can provide an object, which lets you specify the order using the ord
property, along with several other new options.
There are several HTML attributes that you can set for specific checkbox and radio options. You may also set these attributes against the field to have them apply to all of the options.
values: