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

View file

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

View file

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