Time
Use time input fields within Custom UI Widget

Input combo type hour
Displays a time input field in the format HH:MM (12h format).
Usage example
<form>
<inputcombo
type="hour"
id="start_hour"
label="Start Time"
description="Set the hour at which the measurement was performed"
value="21:00"
/>
</form>Properties
id: Unique identifier to access this field's datalabel: Header textdescription: Short descriptive textshape: Used to align the label and the input field. Its allowed values arecompactVerticalwideVerticalwideHorizontal
value: Sets a default time. 24H format must be used and it will automatically be converted to 12H format.
Last updated
Was this helpful?