Password Text Fields

I’m creating a Streamlit app to interact with a cloud based ML platform, and I was wondering if there was a way to provide a password field where input text was replaced with asterixes (or :skull: for extra goodness.)

2 Likes

Hey @shelbydavis - this isn’t currently possible, but I’ve opened an issue here so we can track this as a feature request!

(Feel free to submit additional feature requests or bugs directly to our Github repo; you can also follow issues you’re interested in to get notified when they’re update.)

1 Like

Just a necroing this thread in case anyone else comes across it: we shipped password text input support earlier this year. This is now possible:

password = st.text_input("Enter a password", type="password")
2 Likes