From 4d6aa4af9064406d3a4a86058732132cf02566af Mon Sep 17 00:00:00 2001 From: tsv2013 Date: Mon, 12 Aug 2024 16:42:56 +0300 Subject: [PATCH] Resolved #8671 - The File Upload's showPreview option should be unavailable in SurveyJS Form Builder form settings --- packages/survey-core/src/question_file.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/survey-core/src/question_file.ts b/packages/survey-core/src/question_file.ts index 18d24aa91f..d4f754246f 100644 --- a/packages/survey-core/src/question_file.ts +++ b/packages/survey-core/src/question_file.ts @@ -1093,7 +1093,7 @@ Serializer.addClass( "file", [ { name: "showCommentArea:switch", layout: "row", visible: true, category: "general" }, - { name: "showPreview:boolean", default: true }, + { name: "showPreview:boolean", default: true, visible: false }, "allowMultiple:boolean", { name: "allowImagesPreview:boolean",