react-places-autocomplete icon indicating copy to clipboard operation
react-places-autocomplete copied to clipboard

Disable auto fill feature of chrome browser

Open venom90 opened this issue 7 years ago • 2 comments

By default autocomplete attribute is set to "off", which doesn't work with chrome. However, I tried to put random string in autocomplete attribute and it worked. Please change this behaviour in the file PlacesAutocomplete.js.

venom90 avatar Sep 08 '18 17:09 venom90

I think the autocomplete attribute should be simply removed from this lib and be left for the developer to decide whether or not he wants to disable it. In my use case, the user enters its home address: in this use case autocomplete should be enabled.

FYI See https://stackoverflow.com/q/12374442/990356 and https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion for autocomplete="off" not working workarounds.

tkrotoff avatar Nov 13 '18 14:11 tkrotoff

when can this be fixed?

jgiunta1 avatar Sep 22 '21 01:09 jgiunta1