DatetimeInput#

The DatetimeInput allows entering a datetime value using a text input box.

Use pn.ui.DatetimeInput to create this component.

API#

.. py:class:: DatetimeInput(*, enter_pressed, max_length, size, color, error_state, helper_text, variant, attached, dark_theme, sx, theme_config, use_shadow_dom, end, format, start, description, placeholder, serializer, type, disabled, loading, align, aspect_ratio, css_classes, design, height, height_policy, margin, max_height, max_width, min_height, min_width, sizing_mode, styles, stylesheets, tags, visible, width, width_policy, label, value, name) :module: panel_material_ui.widgets.input

The DatetimeInput allows entering a datetime value using a text input box.

:Attributes:

   **value**
       ..

   **value_input**
       ..

.. !! processed by numpydoc !!

Parameter Definitions


Parameters inherited from:

   :class:`panel.viewable.Layoutable`: align, aspect_ratio, css_classes, design, min_width, min_height, max_width, max_height, styles, stylesheets, tags, width_policy, height_policy, sizing_mode, visible

   :class:`panel.widgets.base.Widget`: height

   :class:`panel.widgets.input.LiteralInput`: serializer, type

   :class:`panel.widgets.input.DatetimeInput`: start, end, format

   :class:`panel.custom.ReactComponent`: use_shadow_dom

   :class:`panel_material_ui.base.MaterialComponent`: loading, dark_theme, theme_config, sx

   :class:`panel_material_ui.widgets.base.MaterialWidget`: label, margin, width, attached, description, disabled

   :class:`panel_material_ui.widgets.input.MaterialInputWidget`: color, error_state, helper_text, variant

   :class:`panel_material_ui.widgets.input._TextInputBase`: max_length, placeholder, size

   :class:`panel_material_ui.widgets.input.TextInput`: enter_pressed

value = ClassSelector(allow_None=True, class_=(<class 'datetime.datetime'>, <class 'datetime.date'>, <class 'str'>), label='Value')

    The current value. Can be a datetime object or a string in ISO format.

value_input = ClassSelector(allow_None=True, class_=(<class 'datetime.datetime'>, <class 'datetime.date'>, <class 'str'>), constant=True, label='Value input', readonly=True)

    The current value. Can be a datetime object or a string in ISO format.

.. py:attribute:: DatetimeInput.value :module: panel_material_ui.widgets.input :value: None

.. py:attribute:: DatetimeInput.value_input :module: panel_material_ui.widgets.input :value: None