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) {
|
||||
this.displayInvalidZipAlert = true;
|
||||
this.focusOnZipInput();
|
||||
} else {
|
||||
this.serviceZipModel = {
|
||||
serviceState: zipCodeData.state,
|
||||
|
|
@ -167,15 +168,10 @@ export default {
|
|||
},
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.$watch(
|
||||
() => {
|
||||
return this.$refs.zipInputTextQuestion.value;
|
||||
},
|
||||
(val) => {
|
||||
this.resetsOnZipInput();
|
||||
}
|
||||
);
|
||||
watch: {
|
||||
serviceZipCodeInput() {
|
||||
this.resetsOnZipInput();
|
||||
},
|
||||
},
|
||||
components: {
|
||||
textLink,
|
||||
|
|
|
|||
Loading…
Reference in a new issue