Skip to main content
A user input component that allows users to select a time.

Fields

NameTypeDescriptionOptions
LabelText--
Custom CSS classesTextCSS classes, separated by spaces. You can define classes in custom stylesheets.-

Events

Capture changes to this control.

def onchange_handler(state, payload):

# Set the state variable "new_time" to the new value, provided as a hh:mm string (in 24-hour format that includes leading zeros).

state["new_time"] = payload
I