Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix autocomplete search field with user email on chrome #8248

Open
wants to merge 1 commit into
base: dev-mail
Choose a base branch
from

Conversation

hrb-hub
Copy link
Contributor

@hrb-hub hrb-hub commented Jan 10, 2025

On chrome, clicking the "New email" button causes the search input to be autofilled with the user's email. This happens even with autocomplete set to "off", and with the button having a type of "button"

Wrapping the search input in a form isolates it from unrelated buttons and fixes the issue.

Close #8236

On chrome, clicking the "New email" button causes the search input to
be autofilled with the user's email. This happens even with
autocomplete set to "off", and with the button having a type of "button"

Wrapping the search input in a form isolates it from unrelated buttons
and fixes the issue.

Close #8236
@hrb-hub hrb-hub linked an issue Jan 10, 2025 that may be closed by this pull request
2 tasks
Copy link
Contributor

@charlag charlag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's really clever!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Autocomplete search field with emails
2 participants