Enabling forward action when license plate updated
This commit is contained in:
parent
b3e8792a8c
commit
193f4fde49
2 changed files with 8 additions and 11 deletions
|
|
@ -23,8 +23,8 @@ class="col button-col d-flex px-0">
|
||||||
(disableForwardAction || isForwardActionDisabled) &&
|
(disableForwardAction || isForwardActionDisabled) &&
|
||||||
'form-test-invalid'
|
'form-test-invalid'
|
||||||
"
|
"
|
||||||
:aria-disabled="isForwardActionDisabled"
|
:aria-disabled="disableForwardAction || isForwardActionDisabled"
|
||||||
:isDisabled="isForwardActionDisabled"
|
:isDisabled="disableForwardAction || isForwardActionDisabled"
|
||||||
data-bs-target="#footerModal"
|
data-bs-target="#footerModal"
|
||||||
data-bs-dismiss="modal"
|
data-bs-dismiss="modal"
|
||||||
data-test-id="site-footer-main-button"
|
data-test-id="site-footer-main-button"
|
||||||
|
|
|
||||||
|
|
@ -212,20 +212,17 @@ export default {
|
||||||
stateOptions: {
|
stateOptions: {
|
||||||
get() {
|
get() {
|
||||||
return states;
|
return states;
|
||||||
},
|
}
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
licensePlate() {
|
licensePlate() {
|
||||||
this.$refs.siteFooter.updateButtonText(
|
this.$refs.siteFooter.updateButtonText(this.getCmsContent('SiteFooterWidget', 'ForwardButtonText'));
|
||||||
this.getCmsContent('SiteFooterWidget', 'ForwardButtonText')
|
this.$refs.siteFooter.enableForwardAction();
|
||||||
);
|
|
||||||
},
|
},
|
||||||
registrationZipCode() {
|
registrationZipCode() {
|
||||||
this.$refs.siteFooter.updateButtonText(
|
this.$refs.siteFooter.updateButtonText(this.getCmsContent('SiteFooterWidget', 'ForwardButtonText'));
|
||||||
this.getCmsContent('SiteFooterWidget', 'ForwardButtonText')
|
}
|
||||||
);
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.attachCustomEvents();
|
this.attachCustomEvents();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue