Skip to content

Commit

Permalink
Fix comment markups
Browse files Browse the repository at this point in the history
  • Loading branch information
dk981234 committed Jun 21, 2023
1 parent ee19c13 commit 6884c8c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
5 changes: 2 additions & 3 deletions packages/survey-vue-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"vite": "^3.1.8",
"vitest": "^0.32.2",
"vue": "^3.2.41",
"vue-tsc": "^1.0.8",
"happy-dom": "^9.20.3"
"vue-tsc": "^1.0.8"
}
}
}
9 changes: 5 additions & 4 deletions packages/survey-vue-ui/src/Comment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
@change="change"
@input="(e) => { question.onInput(e) }"
@keydown="(e) => { question.onKeyDown(e) }"
:aria-required="question.ariaRequired"
:aria-label="question.ariaLabel"
:aria-invalid="question.ariaInvalid"
:aria-describedby="question.ariaDescribedBy"
:aria-required="question.a11y_input_ariaRequired"
:aria-label="question.a11y_input_ariaLabel"
:aria-labelledby="question.a11y_input_ariaLabelledBy"
:aria-invalid="question.a11y_input_ariaInvalid"
:aria-describedby="question.a11y_input_ariaDescribedBy"
v-bind:style="{ resize: question.resizeStyle }"
></textarea>
<div v-else>{{ question.value }}</div>
Expand Down
2 changes: 1 addition & 1 deletion packages/survey-vue-ui/tests/test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class ExpectAssertAdapter {
}
}

const whiteList = ["text"];
const whiteList = ["comment"];

describe("etalon tests", () => {
markupTests.forEach((markupTest) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/survey-vue-ui/vitest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import path from 'path';
export default defineConfig({
plugins: [vue()],
test:{
environment: 'happy-dom',
environment: 'jsdom',
},
resolve: {
alias: {
Expand Down

0 comments on commit 6884c8c

Please sign in to comment.