Skip to content

Day Component

Mike edited this page Jun 5, 2025 · 5 revisions

For updated documentation on the Day component, refer to the Form.io User Guide .

JSON Schema

The JSON Schema definition for this component is defined as follows.

{
  "label": "Day",
  "hideInputLabels": false,
  "inputsLabelPosition": "top",
  "useLocaleSettings": false,
  "tableView": false,
  "fields": {
    "day": {
      "hide": false
    },
    "month": {
      "hide": false
    },
    "year": {
      "hide": false
    }
  },
  "key": "day",
  "type": "day",
  "input": true,
  "defaultValue": "00/00/0000"
}

Core Properties

This component uses the core properties defined within the Common Parameters section.

Specific Properties

Property Description Value Required Default
fields.day.type The type of input for the day field text true text
fields.day.placeholder The placeholder to put in the day field text box. Any string false
fields.day.required If this day input should be required for input. boolean false false
fields.month.type The type of input for the month field text true text
fields.month.placeholder The placeholder to put in the month field text box. Any string false
fields.month.required If this month input should be required for input. boolean false false
fields.year.type The type of input for the year field text true text
fields.year.placeholder The placeholder to put in the year field text box. Any string false
fields.year.required If this year input should be required for input. boolean false false
dayFirst If the day input should be the first input item boolean false false
Clone this wiki locally