Can I add to. a selectbox an "other" option, where the user can add his own answer?

Hi @schancksb,

  1. You could probably try and see if this component ( New component: streamlit_datalist! - :jigsaw: Streamlit Components - Streamlit) works for you.
  2. Additionally, if it does, you can try to append the new item (after entry) to the session state list that populates the dropdown. Even if this does not work, you still will be able to enter elements not in the dropdown.


1 Like