Back

TimePicker

24-Hour

hr
:
min

12-Hour with AM/PM

hr
:
min

With Seconds

hr
:
min

Error State

hr
:
min

Time is required

Disabled

hr
:
min

Usage

@forms.TimePicker(forms.TimePickerProps{
    ID:          "alarm",
    Name:        "alarm",
    Label:       "Alarm Time",
    Value:       "07:30",      // initial value "HH:MM" or "HH:MM:SS"
    Hour12:      true,         // 12-hour with AM/PM toggle
    ShowSeconds: false,        // add seconds column
})