Is there a way to create a selectbox that returns a bool value and the selected option?

What I would like to accomplish is trigger an action based on user clicking on the select box rather than triggering the action using the value of the select box.

Any suggested workaround would also be appreciated.

Hi @vitalyin, welcome to the Streamlit community!

I’m not sure I understand your question. You want to trigger an action based on the person touching the select box, irrespective of the value they chose?