Hi @Kenichiro_Ouchi,
First, welcome to the Stremalit community
To me, this looks like you might need to use session state to track values in the multiselect. But Iâm not sure why you use a textbox to pass to a multiselect in this way. It seems to me that you want to filter the database first based on what the textbox has?
If so, I have a question: wouldnât the built-in text-matching of the multiselect work for this? and if not why not?
To truly help, I would recommend adding a MWE (minimum working example) of code.
This is a helpful forum post about posting your first question on the forum:
Happy Streamlit-ing!
Marisa