Skip to content
  1. Extras
  2. PageBuilder
  3. Field types
  4. Pro
  5. schedule

Field schedule

Version: Pro (advanced-fields).

A textarea that stores JSON. The inspector placeholder is a weekday object, for example mon and tue with a list of 09:00-18:00 strings. The saved value is a string. Parse the JSON in the chunk or in your own code.

Schema

json
{
  "name": "hours",
  "type": "schedule",
  "label": "Hours"
}

Section data

json
{
  "hours": "{\"mon\":[\"09:00-18:00\"],\"tue\":[\"09:00-18:00\"]}"
}

Similar types