Basically what the title says.
If I place a st.text_input widget inside a beta_column using a with statement, the show password button (shaped like an eye) doesn’t work. Edit: This is observed on Mozilla browser, but not on Chrome.
MWE:
import streamlit as st
pwdCol1, pwdCol2 = st.beta_columns([1, 3])
with pwdCol1:
password = st.text_input('Insert password', value = '', max_chars = None, key = None, type = 'password')
Conda installation on Windows 10 x64, python version 3.7.9, streamlit version 0.72
So the eye on the password is just not there? Can you attach a screen shot?
When you say that its observed on Mozilla but not Chrome you mean that you have tried the chrome browser and it is working (or you haven’t tried it there)?
The eye is there, but it does nothing on click; i.e., it neither changes to the eye with a strike on top of it, nor does it make the password show.
When I say that its observed on Mozilla I mean that I have tried on both browsers, but I experience it only on Mozilla. I believe that I have the latest version of both browsers installed, or at least a very recent one.
I cannot run it to provide a screenshot at the moment, but I will do so as soon as I can.
I understand that you are unable to reproduce it?
Yes, I have not yet reproduced it (cause I foolishly thought you hadn’t tried it on Chrome).
I will download Mozilla and see if I can reproduce it now that I know exactly what I am looking for. My only issue is I am not a windows user, so if it works for me I will send it onto someone with a windows machine!
I can reproduce the issue with Firefox browser (fresh download), python 3.7.9, and Streamlit 0.72.
Also, when I try with a newer version of Python (3.8.5) I have the same thing. Chrome and Safari work fine, it’s just a problem with the Mozilla browser.
Thanks for finding this and letting us know. I have sent this on internally to get some assistance from our engineering team.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.