Merge pull request #451 from Safelite/feature/richardson/SSR-631

add groupName to buttonQuestion
This commit is contained in:
brich1212safe 2023-09-22 12:29:20 -04:00 committed by GitHub
commit ab06f590ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -3,6 +3,7 @@
ref="policyVehiclesQuestion" ref="policyVehiclesQuestion"
v-model="selectedVehicleVin" v-model="selectedVehicleVin"
:questionText="questionText" :questionText="questionText"
groupName="policyVehiclesQuestionOption"
buttonTypeString="listButton" buttonTypeString="listButton"
isOverflowScrollable isOverflowScrollable
:answers="answers" :answers="answers"

View file

@ -2,6 +2,7 @@
<ButtonQuestion <ButtonQuestion
v-model="selectedValue" v-model="selectedValue"
:answers="answersFromCms" :answers="answersFromCms"
groupName="VinLookupMethodsOption"
buttonTypeString="listButton" buttonTypeString="listButton"
:questionText="questionTextFromCms" :questionText="questionTextFromCms"
isRequired isRequired

View file

@ -140,6 +140,7 @@
inputId="isDamageGlassOnly" inputId="isDamageGlassOnly"
:answers="DamageGlassOnlyOptions" :answers="DamageGlassOnlyOptions"
:questionText="DamageGlassOnlyQuestion" :questionText="DamageGlassOnlyQuestion"
groupName="glassOnlyDamageOption"
buttonTypeString="listButtonHorizontal" buttonTypeString="listButtonHorizontal"
:validationRules="rules.damageOption" :validationRules="rules.damageOption"
isRequired isRequired
@ -364,8 +365,7 @@ export default {
{}, {},
{ [routerParams.SAVE_SESSION_SYNCHRONOUS]: true } { [routerParams.SAVE_SESSION_SYNCHRONOUS]: true }
); );
} } else if (policy) {
else if (policy) {
if (this.vehiclesFound) { if (this.vehiclesFound) {
// if policy lookup is successful and vehicles are found, navigate to policy-vehicles page // if policy lookup is successful and vehicles are found, navigate to policy-vehicles page
this.$router.navigate( this.$router.navigate(