Checklist is a component that encapsulates several checkboxes. The values and labels of the checklist are specified in the `options` property and the checked items are specified with the `value` property. Each checkbox is rendered as an input with a surrounding label.
Function or value | Description |
Full Usage:
Checklist.checklist id attrs
Parameters:
string
attrs : Attr list
Returns: DashComponent
|
![]() ![]() ![]() ![]() ![]() ![]()
Checklist is a component that encapsulates several checkboxes.
The values and labels of the checklist are specified in the `options`
property and the checked items are specified with the `value` property.
Each checkbox is rendered as an input with a surrounding label.
Properties:
• id (string) - The ID of this component, used to identify dash components
in callbacks. The ID needs to be unique across all of the
components in an app.
• options (list with values of type: record with the fields: 'label: string | number (required)', 'value: string | number (required)', 'disabled: boolean (optional)'; default []) - An array of options
• value (list with values of type: string | number; default []) - The currently selected value
• className (string) - The class of the container (div)
• style (record) - The style of the container (div)
• inputStyle (record; default {}) - The style of the checkbox element
• inputClassName (string; default ) - The class of the checkbox element
• labelStyle (record; default {}) - The style of the
|