ColumnType implements [Field.ColumnType] interface method.
FindSetter implements the [SetterFinder] interface.
ValidateSettings implements [Field.ValidateSettings] interface method.
Hidden hides the field from the API response.
Id is the unique stable field identifier.
It is automatically generated from the name when adding to a collection FieldsList.
MaxSelect specifies the max allowed selected values.
For multiple select the value must be > 1, otherwise fallbacks to single (default).
Name (required) is the unique name of the field.
Presentable hints the Dashboard UI to use the underlying field record value in the relation preview label.
Required will require the field value to be non-empty.
System prevents the renaming and removal of the field.
Values specifies the list of accepted values.
Generated using TypeDoc
SelectField defines "select" type field for storing single or multiple string values from a predefined list.
Requires the Values option to be set.
If MaxSelect is not set or <= 1, then the field value is expected to be a single Values element.
If MaxSelect is > 1, then the field value is expected to be a subset of Values slice.
The respective zero record field value is either empty string (single) or empty string slice (multiple).
The following additional setter keys are available: