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
  • use24HourFormat: (mobile/futter only), if true, use 24 hours format
  • hourText: (mobile/flutter only), wording for "hours"
  • minuteText: (mobile/flutter only), wording for "minutes"
  • interval: (mobile/flutter client only) interval in minutes, how much minutes to move when user slide the time range dial
  • default: default

Example

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