Merge pull request #158 from Safelite/feature/Digital/SSR-225

Feature/digital/ssr 225
This commit is contained in:
Jason Wheeler 2023-02-08 11:19:05 -05:00 committed by GitHub
commit b68b3657fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 9 deletions

View file

@ -132,11 +132,10 @@ export default {
evt.preventDefault(); evt.preventDefault();
const data = evt.type == "paste" ? (evt.clipboardData || window.clipboardData) : evt.dataTransfer; const data = evt.type == "paste" ? (evt.clipboardData || window.clipboardData) : evt.dataTransfer;
const value = data.getData('Text'); const value = data.getData('Text')?.trim();
evt.target.value = value.trim(); this.$emit("update:modelValue", value);
evt.target.dispatchEvent(new Event('change'));
} }
}, },
computed: { computed: {

View file

@ -27,7 +27,7 @@
ref="siteFooter" ref="siteFooter"
cmsWidgetName="SiteFooterWidget" cmsWidgetName="SiteFooterWidget"
:isForwardActionDisabled="!isMetaValid" :isForwardActionDisabled="!isMetaValid"
@back-clicked="handleBackButtonClicked" @back-clicked="handleBackButtonAction"
@ForwardClicked="handleForwardButtonAction" /> @ForwardClicked="handleForwardButtonAction" />
</div> </div>
</div> </div>

View file

@ -189,7 +189,7 @@ const routingTable = function(store) {
}, },
{ {
scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS, scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS,
destinationIssPageValue: issPageValues.QUOTE, destinationIssPageValue: issPageValues.COVERAGE_STATEMENT,
}, },
], ],
}, },
@ -222,7 +222,7 @@ const routingTable = function(store) {
}, },
{ {
scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS, scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS,
destinationIssPageValue: issPageValues.QUOTE, destinationIssPageValue: issPageValues.COVERAGE_STATEMENT,
}, },
], ],
}, },
@ -251,7 +251,7 @@ const routingTable = function(store) {
}, },
{ {
scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS, scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS,
destinationIssPageValue: issPageValues.QUOTE, destinationIssPageValue: issPageValues.COVERAGE_STATEMENT,
}, },
], ],
}, },
@ -280,7 +280,7 @@ const routingTable = function(store) {
}, },
{ {
scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS, scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS,
destinationIssPageValue: issPageValues.QUOTE, destinationIssPageValue: issPageValues.COVERAGE_STATEMENT,
}, },
], ],
}, },
@ -317,7 +317,7 @@ const routingTable = function(store) {
}, },
{ {
scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS, scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS,
destinationIssPageValue: issPageValues.QUOTE, destinationIssPageValue: issPageValues.COVERAGE_STATEMENT,
}, },
], ],
}, },