Sha256: 6e867009042b8f7e11013a5a7623c3963626c7f4c70ef68adddc420f57452a67

Contents?: true

Size: 765 Bytes

Versions: 1340

Compression:

Stored size: 765 Bytes

Contents

The MultiLevelSelect kit renders a multi leveled select dropdown based on data from the user. `treeData` is a required prop that is expected to contain the data in the form of an array of objects. See code snippet for an example data array.

For the React version of the kit, the `onSelect` prop returns an array of objects. This array contains all checked items irrespective of whether it is a parent, child or grandchild. Open the console on this example and check and uncheck checkboxes to see this is action! 

For the Rails version of the kit, there is no onselect. The form submits as a array of strings, following the typical rails pattern of utilizing hidden inputs. The strings are the values of the selected items' ids. For example, ["103", "106", "107"].

Version data entries

1,340 entries across 1,340 versions & 2 rubygems

Version Path
playbook_ui-13.8.0.pre.alpha.PLAY962SingleSelect1256 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui_docs-13.8.0.pre.alpha.play845allkitsbytypes1255 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui-13.8.0.pre.alpha.play845allkitsbytypes1255 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui_docs-13.8.0.pre.alpha.play845allkitsbytypes1254 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui-13.8.0.pre.alpha.play845allkitsbytypes1254 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui_docs-13.8.0.pre.alpha.PLAY962SingleSelect1246 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui-13.8.0.pre.alpha.PLAY962SingleSelect1246 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui_docs-13.8.0.pre.alpha.PLAY1016reactionbuttonemojibug1245 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui-13.8.0.pre.alpha.PLAY1016reactionbuttonemojibug1245 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui-13.8.0 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui_docs-13.7.0.pre.alpha.play845allkitsbytypes1234 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui-13.7.0.pre.alpha.play845allkitsbytypes1234 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui_docs-13.7.0.pre.alpha.play845allkitsbytypes1232 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui-13.7.0.pre.alpha.play845allkitsbytypes1232 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui_docs-13.7.0.pre.alpha.play845allkitsbytypes1231 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui-13.7.0.pre.alpha.play845allkitsbytypes1231 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui_docs-13.7.0.pre.alpha.play978makehighchartsadevdependencypoc1223 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui-13.7.0.pre.alpha.play978makehighchartsadevdependencypoc1223 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui_docs-13.6.0.pre.alpha.play845allkitsbytypes1219 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md
playbook_ui-13.6.0.pre.alpha.play845allkitsbytypes1219 app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.md