Prettified
This commit is contained in:
parent
aefe924060
commit
a0b6995347
6 changed files with 6 additions and 9 deletions
|
|
@ -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 = {
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue