You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reconsider autocomplete="new-password" as the default for Select inputs #1249
The autocomplete="new-password" value appears to cause password managers such as Bitwarden to treat the Select's search input as a password-related field.
As a result, focusing/searching inside a regular Select can display Bitwarden's password generator/autofill UI, even though the Select has nothing to do with authentication or passwords.
Reproduction
Using Ant Design with a searchable/multiple Select:
When the input is focused in Chrome with the Bitwarden browser extension installed, Bitwarden displays its password-related UI inside/next to the Select.
Expected behavior
A regular Select/combobox should not be identified by password managers as a password-related field.
Additional context
This appears to be a regression introduced by #1222
I understand that autocomplete="new-password" was introduced there to preserve the Chromium autocomplete workaround after changing the input from type="search" to type="text".
However, new-password has password-specific semantics and can therefore be interpreted by password managers as an indication that the field is related to password creation.
Would it be possible to suppress Chromium autocomplete without using a password-specific autocomplete value?
This is a really annoying behavior. And there's no straightforward way to opt out from it.
It prevents us from upgrading Ant Design in our project to 6.6.x versions
Activity
potop commentedon Aug 28, 2026
This is a really annoying behavior. And there's no straightforward way to opt out from it.
It prevents us from upgrading Ant Design in our project to 6.6.x versions