From ed27b547452e9e7aa0d9510833374d88377e9da1 Mon Sep 17 00:00:00 2001 From: Pankaj Parashar Date: Tue, 9 Jun 2026 10:34:35 +0530 Subject: [PATCH] FORMS-10306 : set defaultValue=2 for maxFileSize in fileinput v1 dialog The Maximum file size field in the File Attachment v1 property dialog was showing an empty value instead of the default 2 (MB). The Java model defaults to 2MB but the dialog had defaultValue="" which showed nothing. Setting defaultValue="2" makes the dialog reflect the actual default. --- .../form/fileinput/v1/fileinput/_cq_dialog/.content.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/fileinput/v1/fileinput/_cq_dialog/.content.xml b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/fileinput/v1/fileinput/_cq_dialog/.content.xml index 37fc33697b..8f4dd0d84c 100644 --- a/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/fileinput/v1/fileinput/_cq_dialog/.content.xml +++ b/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/fileinput/v1/fileinput/_cq_dialog/.content.xml @@ -145,7 +145,7 @@ sling:resourceType="granite/ui/components/coral/foundation/form/numberfield" fieldLabel="Maximum file size (MB)" name="./maxFileSize" - defaultValue=""> + defaultValue="2">