Remove chars limit indication when using st.text_input with max_chars != None

Hi, everyone!

How can I omit the chars limit indication when using the st.text_input? Is this possible?

Hi @luis.hreis,

You can set max_chars=None

Caroline

Hi, @Caroline.

I want the chars limit but omitting the chars limit indication in the text box.

Hi @luis.hreis,

The only workaround I can come up with at the moment would be to not use the built-in character limit and instead limit it yourself via Python – i.e. use len() to get the length of the string and display an error message or warning that the user has entered too many characters if applicable.

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