From ab0016442e76503024772c296862c20e1a2ace56 Mon Sep 17 00:00:00 2001 From: TSV Date: Thu, 27 Jul 2023 15:46:25 +0300 Subject: [PATCH 1/3] Fixed #6425 - Survey in Display Mode - A file upload button remains, and the selected Rate option is rendered with a Primary color --- .../src/questions/file.component.html | 1 + packages/survey-vue3-ui/src/File.vue | 1 + src/defaultV2-theme/blocks/sd-rating.scss | 4 +++- src/knockout/templates/question-file.html | 2 ++ src/react/reactquestion_file.tsx | 2 +- src/vue/file.vue | 1 + tests/markup/etalon_file.ts | 23 ++++++++++++++++++- .../snapshots/file-2-zip-png-ro.snap.html | 8 ------- .../snapshots/file-mob2-zip-png-ro.snap.html | 8 ------- .../file-modern-zip-png-ro.snap.html | 3 --- .../snapshots/file-single-zip-ro.snap.html | 19 +++++++++++++++ .../snapshots/file-zip-png-ro.snap.html | 3 --- 12 files changed, 50 insertions(+), 25 deletions(-) create mode 100644 tests/markup/snapshots/file-single-zip-ro.snap.html diff --git a/packages/survey-angular-ui/src/questions/file.component.html b/packages/survey-angular-ui/src/questions/file.component.html index 20840bb9ee..55c50e409a 100644 --- a/packages/survey-angular-ui/src/questions/file.component.html +++ b/packages/survey-angular-ui/src/questions/file.component.html @@ -36,6 +36,7 @@ {{ model.dragAreaPlaceholder }}