Time Input - Writer AI Studio

Fields

Name Type Description Options
Label Text - -
Custom CSS classes Text CSS classes, separated by spaces. You can define classes in custom stylesheets. -

Events

wf-time-change

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