CSR-1012 | updated zip input watch
This commit is contained in:
parent
d5ab28c598
commit
c274e16aac
1 changed files with 5 additions and 9 deletions
|
|
@ -127,6 +127,7 @@ export default {
|
||||||
|
|
||||||
if (!zipCodeData.isValid) {
|
if (!zipCodeData.isValid) {
|
||||||
this.displayInvalidZipAlert = true;
|
this.displayInvalidZipAlert = true;
|
||||||
|
this.focusOnZipInput();
|
||||||
} else {
|
} else {
|
||||||
this.serviceZipModel = {
|
this.serviceZipModel = {
|
||||||
serviceState: zipCodeData.state,
|
serviceState: zipCodeData.state,
|
||||||
|
|
@ -167,15 +168,10 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
watch: {
|
||||||
this.$watch(
|
serviceZipCodeInput() {
|
||||||
() => {
|
this.resetsOnZipInput();
|
||||||
return this.$refs.zipInputTextQuestion.value;
|
},
|
||||||
},
|
|
||||||
(val) => {
|
|
||||||
this.resetsOnZipInput();
|
|
||||||
}
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
textLink,
|
textLink,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue