List Box
See: https://the-carbon-components.netlify.app/?nav=list-box
- class carbondesign.tags.list_box.ListBox(*args, **kwargs)
 List Box component.
- WANT_CHILDREN = True
 Template Tag needs closing end tag.
- MODES = ('default', 'inline')
 Available variants.
- NODE_PROPS = ('light',)
 Extended Template Tag arguments.
- CLASS_AND_PROPS = ('label', 'help', 'list')
 Prepare xxx_class and xxx_props values.
- prepare(values, context)
 Prepare values for rendering the templates.
- prepare_element_props(props, context)
 Prepare html attributes for rendering the form element.
- render_default(values, context)
 Output html of the component.
- render_inline(values, context)
 Output html of the component.
- render_tmpl_label(values, context)
 Dynamically render a part of the component’s template.
- render_tmpl_icon_invalid(values, context)
 Dynamically render a part of the component’s template.
Dynamically render a part of the component’s template.
- class carbondesign.tags.list_box.ListBoxItem(*args, **kwargs)
 List Box item component.
- WANT_CHILDREN = True
 Template Tag needs closing end tag.
- NODE_PROPS = ('active',)
 Extended Template Tag arguments.
- prepare(values, context)
 Prepare values for rendering the templates.
- render_default(values, context)
 Output html of the component.