Skip to content

Commit

Permalink
activate media format validation
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Nov 28, 2024
1 parent 2ab3c7c commit 38f522f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
}
}
Expand Down

0 comments on commit 38f522f

Please sign in to comment.