Date

This field is used to represent a date field where user can enter a date in the DD/MM/YYYY format and then the editor shows it in text format
For example: 01/01/2022 = January 1, 2022

{
"type": "date",
"id": "date",
"label": "Date",
"showInTable": true,
"isRequired": true
}

In the example above the field is a required field and can take an input of any date in the format DD/MM/YYYY

Field Attributes

NameTypeDescription
idstringAssigns a name for the given field on the backend. This name can be used to refer this field in another field
labelstringAdds a label to the given field
isRequiredbooleanMakes a field mandatory
showInTablebooleanDisplays the field in a table after saving the entry