Fix newly introduced bug - enter key propagating on zip search
This commit is contained in:
parent
66b464cf3a
commit
5f3c24fb8f
1 changed files with 2 additions and 1 deletions
|
|
@ -252,7 +252,8 @@ export default {
|
||||||
onModalClosed() {
|
onModalClosed() {
|
||||||
this.resetAlerts();
|
this.resetAlerts();
|
||||||
},
|
},
|
||||||
async onSearchZip() {
|
async onSearchZip(event) {
|
||||||
|
event.preventDefault();
|
||||||
this.resetAlerts();
|
this.resetAlerts();
|
||||||
const zipCodeData = await this.getZipCodeData(
|
const zipCodeData = await this.getZipCodeData(
|
||||||
this.newZipCode,
|
this.newZipCode,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue