Skip to content

Instantly share code, notes, and snippets.

@pbugnion
pbugnion / 01_multi_select_widget_readme.md
Last active September 28, 2024 11:00
Multiple checkbox selection with searching with ipywidgets

Multiple selection with checkboxes and search field

Often, you want the user to choose n options (where n is small-ish) from a very large (hundreds or thousands) number of possibilities. Good UX around this dictates that the user should be able to search for the options they want.

This gist puts together a minimal example of binding a search field with multiple checkboxes using ipywidgets.

Usage