From 38f522ff4b1d97e663cc51ad987440d876a60027 Mon Sep 17 00:00:00 2001 From: Stefan Seifert Date: Thu, 28 Nov 2024 10:32:51 +0100 Subject: [PATCH] activate media format validation --- .../webapp/app-root/components/global/include/mediaRefTab.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundles/core/src/main/webapp/app-root/components/global/include/mediaRefTab.json b/bundles/core/src/main/webapp/app-root/components/global/include/mediaRefTab.json index fd43ba07..52e89dfd 100644 --- a/bundles/core/src/main/webapp/app-root/components/global/include/mediaRefTab.json +++ b/bundles/core/src/main/webapp/app-root/components/global/include/mediaRefTab.json @@ -9,7 +9,8 @@ "mediaRef": { "sling:resourceType": "wcm-io/handler/media/components/granite/form/fileupload", "fieldLabel": "Asset reference", - "allowUpload": true + "allowUpload": true, + "validation": ["wcmio.handler.media.mediaFormat"] } } }