Skip to main content
A user input component that allows users to select a date using a date picker interface.

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_date" to the new value, provided as a YYYY-MM-DD string.

state["new_date"] = payload
I