Skip to content

ClockRange

clock-range

Description

Allow the user to select a start / end time range within the current day. The range is a decimal value where 13.5 means 1:30pm separated by a dash.

Attributes

  • $suggested: Suggested clock range; shown but not set
  • $capture.readonly: Do not allow editing True | false
  • $capture.confirm: Adds a checkbox to confirm the value True | false
  • default: default

Example

{
  "type": "string",
  "$capture": {
    "as": "clock-range",
    "readonly": false,
    "confirm": true
  },
  "$display": {},
  "title": "Clock range metric",
}