Fields in a model can be configured in several ways.
email: true,
password: false,
name: "User Name",
bio: {
title: 'Biography',
type: 'text',
required: true,
tooltip: 'Shown on profile',
}
Field definitions can be placed globally under models.fields
or inside an action (list.fields
, edit.fields
, etc.). Action level settings override the global ones.
Commonly used field types include string
, password
, date
, datetime
, integer
, boolean
, text
, select
and more. When a text
field has the editor
option, a WYSIWYG control will be used.