@geoapify/geocoder-autocomplete
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -139,2 +139,3 @@ "use strict"; | ||
let currentValue = this.inputElement.value; | ||
let userEnteredValue = this.inputElement.value; | ||
/* Close any already open dropdown list */ | ||
@@ -208,6 +209,6 @@ this.closeDropDownList(); | ||
const value = this.postprocessHook(feature); | ||
textElement.innerHTML = this.getStyledAddressSingleValue(value, currentValue); | ||
textElement.innerHTML = this.getStyledAddressSingleValue(value, userEnteredValue); | ||
} | ||
else { | ||
textElement.innerHTML = this.getStyledAddress(feature.properties, currentValue); | ||
textElement.innerHTML = this.getStyledAddress(feature.properties, userEnteredValue); | ||
} | ||
@@ -214,0 +215,0 @@ itemElement.appendChild(textElement); |
{ | ||
"name": "@geoapify/geocoder-autocomplete", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Geocoder autocomplete field", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
104380
2946