react-google-autocomplete
Advanced tools
Comparing version 1.0.17 to 1.0.18
@@ -76,3 +76,5 @@ 'use strict'; | ||
observerHack.disconnect(); | ||
_this2.refs.input.autocomplete = 'disable-autofill'; | ||
if (_this2.refs && _this2.refs.input) { | ||
_this2.refs.input.autocomplete = 'disable-autofill'; | ||
} | ||
}); | ||
@@ -79,0 +81,0 @@ observerHack.observe(this.refs.input, { |
{ | ||
"name": "react-google-autocomplete", | ||
"version": "1.0.17", | ||
"version": "1.0.18", | ||
"description": "React component for google autocomplete.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -41,3 +41,5 @@ import React from 'react'; | ||
observerHack.disconnect(); | ||
this.refs.input.autocomplete = 'disable-autofill'; | ||
if (this.refs && this.refs.input) { | ||
this.refs.input.autocomplete = 'disable-autofill'; | ||
} | ||
}); | ||
@@ -44,0 +46,0 @@ observerHack.observe(this.refs.input, { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14740
276