From 49642c216ddbe12b0b86f4470632c2f50f8023eb Mon Sep 17 00:00:00 2001 From: Dmitry Kurmanov Date: Thu, 27 Jun 2024 12:54:33 +0400 Subject: [PATCH] PR: Questions with checkboxes - Roles provided for the checkboxes are not valid (#8467) * work for the https://github.com/surveyjs/survey-library/issues/8460 * work for the https://github.com/surveyjs/survey-library/issues/8460 --- .../src/questions/checkbox-item.component.html | 2 +- packages/survey-vue3-ui/src/CheckboxItem.vue | 2 +- src/knockout/templates/question-checkbox.html | 3 ++- src/question.ts | 2 +- src/question_checkbox.ts | 5 ++++- src/question_expression.ts | 2 +- src/react/reactquestion_checkbox.tsx | 2 +- src/vue/checkboxitem.vue | 4 ++-- tests/markup/helper.ts | 2 ++ .../snapshots/checkbox-columns-head-foot.snap.html | 12 ++++++------ .../snapshots/checkbox-columns-mobile.snap.html | 8 ++++---- .../checkbox-columns-no-head-foot.snap.html | 12 ++++++------ tests/markup/snapshots/checkbox-columns.snap.html | 6 +++--- tests/markup/snapshots/checkbox-comment-V2.snap.html | 6 +++--- tests/markup/snapshots/checkbox-disabled.snap.html | 8 ++++---- tests/markup/snapshots/checkbox-modern.snap.html | 6 +++--- tests/markup/snapshots/checkbox-other-V2.snap.html | 8 ++++---- .../snapshots/checkbox-other-maxlength.snap.html | 6 +++--- tests/markup/snapshots/checkbox-other.snap.html | 12 ++++++------ .../snapshots/checkbox-readonly-selected.snap.html | 8 ++++---- tests/markup/snapshots/checkbox-readonly.snap.html | 8 ++++---- .../snapshots/checkbox-row-head-foot.snap.html | 12 ++++++------ .../snapshots/checkbox-row-no-head-foot.snap.html | 12 ++++++------ tests/markup/snapshots/checkbox-v2.snap.html | 6 +++--- tests/markup/snapshots/checkbox.snap.html | 8 ++++---- ...dynamic-show-in-multiple-columns-mobile.snap.html | 6 +++--- .../matrixdynamic-show-in-multiple-columns.snap.html | 4 ++-- 27 files changed, 89 insertions(+), 83 deletions(-) diff --git a/packages/survey-angular-ui/src/questions/checkbox-item.component.html b/packages/survey-angular-ui/src/questions/checkbox-item.component.html index 7e273844fb..bc00ac8d51 100644 --- a/packages/survey-angular-ui/src/questions/checkbox-item.component.html +++ b/packages/survey-angular-ui/src/questions/checkbox-item.component.html @@ -1,3 +1,3 @@ - \ No newline at end of file diff --git a/packages/survey-vue3-ui/src/CheckboxItem.vue b/packages/survey-vue3-ui/src/CheckboxItem.vue index 4af2fe6f73..3cce02095a 100644 --- a/packages/survey-vue3-ui/src/CheckboxItem.vue +++ b/packages/survey-vue3-ui/src/CheckboxItem.vue @@ -3,7 +3,6 @@