Fix address input when user doesn't pick a suggestion or use geolocation

This commit is contained in:
Eli Ribble 2026-03-14 02:01:48 +00:00
parent b29d172030
commit 5d86da626b
No known key found for this signature in database

View file

@ -67,6 +67,9 @@ class AddressInput extends HTMLElement {
_handleInput(event) { _handleInput(event) {
const searchText = event.target.value.trim(); 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 // Clear previous timer
clearTimeout(this._debounceTimer); clearTimeout(this._debounceTimer);