How to enable browser suggestion for input field?

Currently, streamlit input field does not take advantage of browser suggestions (i.e. when you click on a field, the browser suggests the previous inputs you provided to that field in the past).

This is because streamlit input field does not have the id property, so the browser doesn’t know how to hang the data to a specific input field.

How to enable this browser suggestion feature for streamlit input? One workaround is to use st.multiselect with a custom options. However, not all input fields have such pre-defined custom list and have to rely on past users’ input.

Hi @anhle , check if you can repurpose tags to provide suggestions by appended user entries to a list.

Cheers

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.