Properties
You can easily add new property or delete it by trash icon button anytime. You have to know about each prop and options and how they works with below tables and instruction.
There are several props you can fill for each field that we can describe them all at the below table.
Key | Required | Type | Description |
Name | yes | String | Name of your field |
default | No | any* | Default value for the property. The type must match that specified by |
index | No | Boolean | Whether the property represents a column (field) that is a database index. |
required | No | Boolean | Whether a value for the property is required. If true, then adding or updating a model instance requires a value for the property.Default is false. |
type | Yes | String | Property type. Can be any type described in Field Types |
uiType | No | String | Choose your field ui component type described in UI Field Types |
initial | No | Boolean | Property can be default column in admin dashboard model list |
hidden | No | Boolean | Hidden model from admin dashboard |
Validation | No | - | Set validations to the field. validations instruction |
Relation | No | - | Set relation to the field. relations instruction |
Last updated