Prettified

This commit is contained in:
Leah Schumann 2023-06-29 09:01:19 -04:00
parent aefe924060
commit a0b6995347
6 changed files with 6 additions and 9 deletions

View file

@ -1,7 +1,6 @@
import { shallowMount } from "@vue/test-utils"; import { shallowMount } from "@vue/test-utils";
import dropdownQuestion from "./dropdown-question"; import dropdownQuestion from "./dropdown-question";
// Mock CMS content // Mock CMS content
const questionText = "Question Text"; const questionText = "Question Text";
const mockMixin = { const mockMixin = {

View file

@ -49,9 +49,7 @@ export default {
}, },
setup(props) { setup(props) {
const uuid = uuidv4(); const uuid = uuidv4();
const dropdownId = !props.customDropdownId const dropdownId = !props.customDropdownId ? `dropdown-${uuid}` : props.customDropdownId;
? `dropdown-${uuid}`
: props.customDropdownId;
const propsClone = Object.assign({}, props); const propsClone = Object.assign({}, props);
const modelValue = propsClone.modelValue; const modelValue = propsClone.modelValue;

View file

@ -1,5 +1,5 @@
<template> <template>
<div class="address-questions" > <div class="address-questions">
<div class="row mb-4" aria-live="polite"> <div class="row mb-4" aria-live="polite">
<div class="col"> <div class="col">
<textboxQuestion <textboxQuestion