Merge pull request #357 from Safelite/feature/digital/SSR-557

Feature/digital/ssr 557
This commit is contained in:
katiekroell 2023-07-05 13:33:58 -04:00 committed by GitHub
commit 1add9ff87a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 2 deletions

View file

@ -23,7 +23,7 @@
@keypress.space="closeModal"
aria-label="Close"></button>
</div>
<div class="modal-body ps-5 pe-5 pb-4 pt-0">
<div class="modal-body ps-5 pe-5 pb-5 pt-0">
<slot></slot>
</div>
<div class="modal-footer px-5 py-4">

View file

@ -1,6 +1,7 @@
<template>
<div class="textbox-question" :class="(errors && errors.length) || hasError ? 'has-error' : ''">
<label
v-if="displayQuestionText"
:for="inputId"
:aria-label="questionText"
class="form-label"
@ -66,6 +67,10 @@ export default {
type: String,
default: "",
},
displayQuestionText: {
type: Boolean,
default: true,
},
modelValue: String,
inputId: {
type: String,

View file

@ -73,7 +73,7 @@ import serviceZipModalQuestion from '@/layouts/service-location/service-zip-moda
defineRule("selection-required", required(errorMessages.OPTION_REQUIRED));
export default {
name: "service-location",
mixins: [baseFormMixin, baseMixin],
mixins: [baseFormMixin],
async beforeRouteEnter(to, from, next) {
// Call APIs
const cmsContentPromise = fetchCmsContentForPage(to.query.issPage);

View file

@ -12,6 +12,7 @@
</div>
<modal
:ref="modalName"
:headerText="modalHeaderText"
:onModalOpenedCallback="onModalOpened"
:onModalClosedCallback="onModalClosed"
:footerButtonText="modalFooterText"