Field.date constructor

Field.date({
  1. required String name,
  2. required String alias,
})

Creates a new FieldType.date field object with the following parameters.

Use this method to create a field. The field will be editable and nullable.

Parameters:

  • name — Name of the field.
  • alias — Alias of the field.