Skip to content

Commit bdbdd39

Browse files
authored
Merge pull request #65 from Anenth/patch-1
Fix disabling autocomplete
2 parents 9cf3515 + 220362f commit bdbdd39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default class ReactGoogleAutocomplete extends React.Component {
5757
const observerHack = new MutationObserver(() => {
5858
observerHack.disconnect();
5959
if (this.refs && this.refs.input) {
60-
this.refs.input.autocomplete = 'disable-autofill';
60+
this.refs.input.autocomplete = 'off';
6161
}
6262
});
6363
observerHack.observe(this.refs.input, {

0 commit comments

Comments
 (0)