Currently, the default Input component is forcefully setting autoComplete="off" which doesn't disable Chrome's autofill functionality on latest browser versions. For achieving that, we need to pass autoComplete="new-password".
The problem is that the value is hardcoded and can't be configured unless we implement our own Input component and configure this property properly there.
It's hardcoded here:
And it gets passed to the default Input component here:
As you can see, there's no way of configuring that property manually.
Currently, the default Input component is forcefully setting
autoComplete="off"which doesn't disable Chrome's autofill functionality on latest browser versions. For achieving that, we need to passautoComplete="new-password".The problem is that the value is hardcoded and can't be configured unless we implement our own Input component and configure this property properly there.
It's hardcoded here:
react-select/src/Select.js
Line 1401 in ba76246
And it gets passed to the default Input component here:
react-select/src/components/Input.js
Line 53 in ba76246
As you can see, there's no way of configuring that property manually.