The Time component

This component lets the user enter a time.

In addition to the properties listed below, this component inherits properties and methods from the superclass Component. For example, any Time component has a label and defaultValue property even though these are not explicitly listed here.

Properties

NameDescriptionDatatypeDefault
dataFormatThe format in which the value is to be saved.String'HH:mm'
formatThe time format for displaying the captured time, when inputType is 'text'.String'HH:mm'
inputMaskThe mask to apply to the input. The default mask only allows numbers to be added.String'99:99'
inputTypeThe type of widget to use for setting the time: 'text' or 'time'String'time'

See also

  • Use a DateTime component to enter a date and time.