DictInput#

The DictInput allows entering a dictionary value using a text input box.

Use pn.ui.DictInput to create this component.

API#

.. py:class:: DictInput(*, enter_pressed, max_length, size, color, error_state, helper_text, variant, attached, dark_theme, sx, theme_config, use_shadow_dom, 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 DictInput allows entering a dictionary value using a text input box.

.. rubric:: Methods

.. autosummary::

  type

.. !! 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

   :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

   :class:`panel_material_ui.widgets.input.LiteralInput`: value_input

value = Parameter(default={}, label='Value')

    The widget value which the widget type resolves to when used
    as a reactive param reference.

type = ClassSelector(class_=<class 'type'>, constant=True, default=<class 'dict'>, label='Type', readonly=True) The type of the value.

.. py:attribute:: DictInput.type :module: panel_material_ui.widgets.input

  alias of :py:class:`dict`