Skip to content

ClockSingle

clock-single

Description

Allow the user to select a time within the current day. The result is a decimal value where 13.5 means 1:30pm.

Attributes

  • $suggested: Suggested clock value; 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-single",
    "readonly": true,
    "confirm": true
  },
  "$display": {},
  "title": "Clock-single metric",
  "default": "13.5"
}