Update CTA when new method is selected
This commit is contained in:
parent
57e520d2c4
commit
2aec329c5c
1 changed files with 6 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
||||||
<paymentMethodQuestion v-model="paymentMethod" />
|
<paymentMethodQuestion v-model="paymentMethod" />
|
||||||
<div class="fade-on-route-transition sub-container make-tall">
|
<div class="fade-on-route-transition sub-container make-tall">
|
||||||
<funnel-footer
|
<funnel-footer
|
||||||
|
ref="funnelFooter"
|
||||||
cmsWidgetName="FunnelFooterWidget"
|
cmsWidgetName="FunnelFooterWidget"
|
||||||
:isForwardActionDisabled="!meta.valid"
|
:isForwardActionDisabled="!meta.valid"
|
||||||
:isBackButtonHidden="shouldHideBackButton"
|
:isBackButtonHidden="shouldHideBackButton"
|
||||||
|
|
@ -80,6 +81,11 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
customCtaCopy(newValue) {
|
||||||
|
this.$refs.funnelFooter.updateButtonText(newValue);
|
||||||
|
},
|
||||||
|
},
|
||||||
components: {
|
components: {
|
||||||
funnelHeader,
|
funnelHeader,
|
||||||
funnelFooter,
|
funnelFooter,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue