Skip to content

Commit

Permalink
Merge pull request #8675 from surveyjs/feature/8671-hide-show-preview
Browse files Browse the repository at this point in the history
Resolved #8671 - The File Upload's showPreview option should be unavailable in SurveyJS Form Builder form settings
  • Loading branch information
andrewtelnov authored Aug 13, 2024
2 parents ff04319 + 4d6aa4a commit 2204abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/survey-core/src/question_file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2204abe

Please sign in to comment.