Skip to content

Conversation

mxschmitt
Copy link

@mxschmitt mxschmitt commented Apr 1, 2020

See here for more information about that issue.

In a nutshell for input fields which don't have the type="search" attribute the autocomplete popup is shown in Chromium based browsers. autocomplete="off" is not working anymore in Chromium. We have to use either autocomplete="new-password" (or any not existing autocomplete attribute) or type="search" which seems to be the better way.

It seems like the issue is much bigger than that:
https://bugs.chromium.org/p/chromium/issues/detail?id=370363#c7

@vercel
Copy link

vercel bot commented Apr 1, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/react-component/select/ox7ipxkmd
✅ Preview: https://select-git-fork-mxschmitt-bugfix-autocomplete.react-component.vercel.app

@mxschmitt mxschmitt changed the title fix: autoComplete attribute in Chromium based browsers fix: added type=search to input component to prevent autocomplete to be shown in Chromium Apr 1, 2020
@MatejBivr
Copy link

any news on this? thanks

@afc163
Copy link
Member

afc163 commented Sep 4, 2020

Conflicting

This does prevents the autocomplete window to be shown in Chromium based browsers
See here for more information about that issue.
ant-design/ant-design#18808
@mxschmitt
Copy link
Author

Conflicting

@afc163 updated the patch.

afc163 added a commit that referenced this pull request Sep 4, 2020
prevent autocomplete to be shown in Chromium

close #469
close ant-design/ant-design#18808
@afc163 afc163 mentioned this pull request Sep 4, 2020
@afc163 afc163 closed this in f7b2322 Sep 4, 2020
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.

3 participants