SamF
SamF
Mmarimo
Created by SamF on 10/4/2024 in #help-support
Searchable drop-down?
Hi everyone, I have the following ui element:
person_selection = mo.ui.dropdown(
options=dict(df.select(['name_full', 'person_id']).iter_rows()),
value="John Smith",
)
person_selection = mo.ui.dropdown(
options=dict(df.select(['name_full', 'person_id']).iter_rows()),
value="John Smith",
)
The selection is used to show plots related to the person selected from the menu. Is there a better way to do this for large numbers of people? df has thousands of unique records. It feels like I should be able to type a first or a last name into some mini search box and have those options appear. Thank you for your time!
7 replies