streamlit icon indicating copy to clipboard operation
streamlit copied to clipboard

Password fields don't update on tab when using 1password browser extension

Open blackary opened this issue 3 years ago • 2 comments

Checklist

  • [X] I have searched the existing issues for similar issues.
  • [X] I added a very descriptive title to this issue.
  • [X] I have provided sufficient information below to help reproduce this issue.

Summary

There's some strange interaction between the 1password browser extension and the password field. I'm not at all confident this is a streamlit issue, but wanted to make note of it in case there's an apparent fix on the streamlit side.

When adding a password field and using tab to navigate around a form, the password value entered does not get returned back to the app when using the 1password browser extension. If the extension is disabled, it works as expected. I did check the value of the input using document.getElementsByTagName("input")[0].value and it had the value as expected.

Reproducible Code Example

import streamlit as st

pwd = st.text_input("Password", type="password")

if st.button("Submit"):
    st.write("Password:", pwd)

Steps To Reproduce

  1. Enable the 1password browser extension
  2. Click on password input
  3. Type some text
  4. Hit tab to go to button
  5. Hit enter to submit

Expected Behavior

Print the password entered

Current Behavior

Prints password: as if a password had not been entered

Note that the input borders remain red as if they haven't been submitted.

Is this a regression?

  • [ ] Yes, this used to work in a previous version.

Debug info

  • Streamlit version: 1.14.0
  • Python version: 3.10.3
  • Operating System: OSX
  • Browser: Chrome 107.0.5304.87
  • Virtual environment: pip + venv

Additional Information

No response

Are you willing to submit a PR?

  • [ ] Yes, I am willing to submit a PR!

Community voting on feature requests enables the Streamlit team to understand which features are most important to our users. If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.

blackary avatar Nov 08 '22 15:11 blackary

To help Streamlit prioritize this feature, react with a 👍 (thumbs up emoji) to the initial post.

Your vote helps us identify which enhancements matter most to our users.

Views

github-actions[bot] avatar Jun 15 '25 12:06 github-actions[bot]

Related to https://github.com/streamlit/streamlit/issues/10115

lukasmasuch avatar Jun 15 '25 12:06 lukasmasuch