Merge pull request #78 from Safelite/feature/digital/SSR-181

Styling fix to error state on vehicle-damage
This commit is contained in:
katiekroell 2022-12-19 16:27:29 -05:00 committed by GitHub
commit 3d96b1b09b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View file

@ -1,6 +1,7 @@
<template> <template>
<label <label
:class="[buttonWrapperClasses, { 'has-error': errors.length > 0 }]" :class="[buttonWrapperClasses, { 'has-error': errors.length > 0 &&!suppressError,
selected: isChecked }]"
:for="buttonId" :for="buttonId"
@focusin="handleFocus" @focusin="handleFocus"
@focusout="handleBlur" @focusout="handleBlur"

View file

@ -34,4 +34,5 @@ export const inputButtonProps = {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
suppressError: Boolean,
}; };

View file

@ -51,6 +51,7 @@
:additionalButtonStyling="additionalButtonStyling" :additionalButtonStyling="additionalButtonStyling"
:lastValuePushedToGa="lastValuePushedToGa" :lastValuePushedToGa="lastValuePushedToGa"
:setLastValuePushedToGa="setLastValuePushedToGa" :setLastValuePushedToGa="setLastValuePushedToGa"
:suppressError="suppressError"
v-model="selectedValues" /> v-model="selectedValues" />
<!-- For nested questions --> <!-- For nested questions -->
<transition name="fade" mode="out-in"> <transition name="fade" mode="out-in">