ModuleFieldType
Represents the field's type.
enum ModuleFieldType {
ADDRESS
CHECKBOX
CURRENCY
DATE
DATETIME
DECIMAL
DROPDOWN
DURATION
EMAIL
FILE
FLOAT
HTML
IMAGE
INTEGER
MULTISELECT
PASSWORD
PHONE
PRIORITY
RADIO
RELATION
STATUS
STRING
TAGINPUT
TEXTAREA
URL
}
Values
ModuleFieldType.ADDRESS
The field should be treated as an address.
ModuleFieldType.CHECKBOX
The field should be treated as a checkbox.
ModuleFieldType.CURRENCY
The field should be treated as a currency/monetary field.
ModuleFieldType.DATE
The field should be treated as a date field with format Y-m-d
, e.g. 2011-05-23
.
ModuleFieldType.DATETIME
The field should be treated as a datetime field in ISO 8601 format Y-m-dTH:i:sO
, e.g. 2020-04-20T13:53:12+02:00
.
ModuleFieldType.DECIMAL
The field should be treated as a decimal.
ModuleFieldType.DROPDOWN
The field should be treated as a dropdown.
ModuleFieldType.DURATION
The field should be treated as a duration field in hh:mm:ss
format (or hhh:mm:ss
format for large hours values).
ModuleFieldType.EMAIL
The field should be treated as an email address.
ModuleFieldType.FILE
The field should be treated as containing a file/attachment.
ModuleFieldType.FLOAT
The field should be treated as a float.
ModuleFieldType.HTML
The field should be treated as HTML text.
ModuleFieldType.IMAGE
The field should be treated as an image.
ModuleFieldType.INTEGER
The field should be treated as an integer.
ModuleFieldType.MULTISELECT
The field should be treated as a select object with multiple values.
ModuleFieldType.PASSWORD
The field should be treated as a password field.
ModuleFieldType.PHONE
The field should be treated as a phone field.
ModuleFieldType.PRIORITY
The field should be treated as a priority field.
ModuleFieldType.RADIO
The field should be treated as a radio input.
ModuleFieldType.RELATION
The field should be treated as a relation field for another module's entry.
ModuleFieldType.STATUS
The field should be treated as a status.
ModuleFieldType.STRING
The field should be treated as a regular string.
ModuleFieldType.TAGINPUT
The field should be treated as a tag input, a.k.a. prettier multiselect.
ModuleFieldType.TEXTAREA
The field should be treated as a textarea.
ModuleFieldType.URL
The field should be treated as a hyperlink.
Member Of
ModuleField
object