Fields
Field Types
Boolean Field
The Boolean
field represent a boolean (true/false) or a tiny integer (0/1).
You can configure custom true/false values by using trueValue
and falseValue
.
Email Field
The Email
field is a simple Text
field with email validation that display a mailto:
link on the index and detail views.
Password Field
The Password
field displays a password input with a score.
Select Field
The Select
field creates a drop-down select in the form views. The options may be defined using the options
method.
You may define custom labels by passing a Record<string, string>
to the options
method.
MultiSelect Field
The MultiSelect
field is similar to the Select
field but allows multiple values to be selected.
Text Field
The Text
field represents a string
and displays a simple text input.