react-atlas icon indicating copy to clipboard operation
react-atlas copied to clipboard

Dropdown: autocomplete attribute needs to be set to something other than "off" to block browser autofill in Chrome

Open Darper opened this issue 7 years ago • 0 comments

I haven't been able to reproduce in the docs site, but Chrome doesn't stop the browser's autocomplete functionality if you just set autocomplete="off". There are a few suggested solutions, the only one I could find officially from the Chrome team though is to set autocomplete to "new-password". https://bugs.chromium.org/p/chromium/issues/detail?id=370363#c7. This fix will take some testing, because I've also seen comments saying that once you've used a custom string it will stop blocking autocomplete the next time the page loads.

Once a new value is determined, the fix is to change the defaultProp in Dropdown.js.

Darper avatar Jul 20 '18 20:07 Darper