-
Notifications
You must be signed in to change notification settings - Fork 114
Description
Currently, Python Shiny does not provide a dedicated ui.input_datetime function to allow users to select both date and time in a single input field. This limitation makes it necessary to rely on custom implementations or combine existing components, which can be cumbersome and less intuitive.
I would like to have a ui.input_datetime function in Python Shiny that integrates date and time selection in a single input field. This feature could be based on the HTML5 datetime-local input type, enabling a compact and user-friendly experience.
Example usage:
ui.input_datetime("datetime", "Select Date and Time:", value="2024-01-01T12:00")
Currently, only ui.input_date is available, and there is no straightforward way to incorporate time selection into the UI. Developers are forced to rely on external libraries or manual HTML/CSS customizations.