Styling fix to error state on vehicle-damage
This commit is contained in:
parent
369df5b8b6
commit
8627da273f
3 changed files with 4 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -34,4 +34,5 @@ export const inputButtonProps = {
|
|||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
suppressError: Boolean,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@
|
|||
:additionalButtonStyling="additionalButtonStyling"
|
||||
:lastValuePushedToGa="lastValuePushedToGa"
|
||||
:setLastValuePushedToGa="setLastValuePushedToGa"
|
||||
:suppressError="suppressError"
|
||||
v-model="selectedValues" />
|
||||
<!-- For nested questions -->
|
||||
<transition name="fade" mode="out-in">
|
||||
|
|
|
|||
Loading…
Reference in a new issue