Recal Modal

This commit is contained in:
Chloe Herd 2024-07-09 11:10:37 -04:00
parent acf6c3b3ea
commit 58d60a5834
2 changed files with 8 additions and 3 deletions

View file

@ -18,7 +18,8 @@
class="m-0" class="m-0"
:customText="checkboxLabelCopy" :customText="checkboxLabelCopy"
marginTopSizeOverride="0" marginTopSizeOverride="0"
typeStyle="small" /> typeStyle="small"
@text-link-clicked="bubbleTextBlockClick" />
<span v-if="screenReaderOnlyText" class="sr-only">{{ screenReaderOnlyText }}</span> <span v-if="screenReaderOnlyText" class="sr-only">{{ screenReaderOnlyText }}</span>
</label> </label>
</div> </div>
@ -81,6 +82,11 @@ export default {
default: false, default: false,
}, },
}, },
methods: {
bubbleTextBlockClick(event) {
this.$emit("textLinkClicked", event);
},
},
watch: { watch: {
modelValue(newValue, oldValue) { modelValue(newValue, oldValue) {
if (this.value !== newValue) { if (this.value !== newValue) {

View file

@ -60,7 +60,7 @@
isRequired="true" isRequired="true"
v-model="isRecalAckOptIn" v-model="isRecalAckOptIn"
validationRules="recal-ack-required" validationRules="recal-ack-required"
@text-link-clicked="openModal" /> @text-link-clicked="openModal('RecalModal')" />
</div> </div>
</div> </div>
@ -715,7 +715,6 @@ export default {
<style></style> <style></style>
<style lang="scss" scoped> <style lang="scss" scoped>
.checkbox-group { .checkbox-group {
align-items: start; align-items: start;
> * { > * {