From 90265f7c28047fd713866a545b7d086a68a25090 Mon Sep 17 00:00:00 2001 From: tsv2013 Date: Wed, 31 Jan 2024 17:15:53 +0300 Subject: [PATCH 1/5] Work for https://github.com/surveyjs/survey-creator/issues/5124 - implemented file chooser functionality for survey --- .../file/choose-file.component.html | 3 +- .../src/components/file/FileChooseButton.vue | 1 + src/base-interfaces.ts | 1 + src/knockout/components/file/choose-file.html | 2 +- src/question_file.ts | 92 +++++++++++-------- .../components/file/file-choose-button.tsx | 1 + src/survey-events-api.ts | 19 ++++ src/survey.ts | 35 ++++++- src/utils/utils.ts | 16 ++++ .../components/file/file-choose-button.vue | 1 + 10 files changed, 127 insertions(+), 44 deletions(-) diff --git a/packages/survey-angular-ui/src/components/file/choose-file.component.html b/packages/survey-angular-ui/src/components/file/choose-file.component.html index a2e54f5b17..00a9363347 100644 --- a/packages/survey-angular-ui/src/components/file/choose-file.component.html +++ b/packages/survey-angular-ui/src/components/file/choose-file.component.html @@ -1,6 +1,7 @@