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
Name | Type | Description |
---|---|---|
id | string | Assigns a name for the given field on the backend. This name can be used to refer this field in another field |
label | string | Adds a label to the given field |
isRequired | boolean | Makes a field mandatory |
showInTable | boolean | Displays the field in a table after saving the entry |