Fix address input when user doesn't pick a suggestion or use geolocation
This commit is contained in:
parent
b29d172030
commit
5d86da626b
1 changed files with 3 additions and 0 deletions
|
|
@ -67,6 +67,9 @@ class AddressInput extends HTMLElement {
|
|||
_handleInput(event) {
|
||||
const searchText = event.target.value.trim();
|
||||
|
||||
// Set the form input value if they submit the form without choosing an option
|
||||
this.value = event.target.value;
|
||||
|
||||
// Clear previous timer
|
||||
clearTimeout(this._debounceTimer);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue