-
Task
-
Resolution: Done
-
Neutral
-
None
-
6.2.12
-
None
-
-
Empty show more show less
-
Empty show more show less
-
UI FW 35
-
3
The following properties should be added to https://docs.magnolia-cms.com/product-docs/6.2/Templating/Dialog-definition/Field-definition/List-of-fields/Upload-field.html#_common_upload_field_properties:
- typeAbortMessage (default is translated fields.uploadField.upload.abort key)
- sizeAbortMessage (the value is i18n-able)
The allowedMimeTypePattern property is no longer a regex pattern. Instead, it is a list of accepted MIME types with possible wildcards. The default value is "" (all types).
For more information, see this Magnolia DAM app configuration snippet (https://git.magnolia-cms.com/projects/MODULES/repos/dam/browse/magnolia-dam-app-jcr/src/main/resources/dam-app-jcr/dialogs/uploadAndEdit.yaml#9) or https://vaadin.com/docs/latest/ds/components/upload/#upload-restrictions.
If used, the following i18n key needs to be configured in the Assets app (see https://docs.magnolia-cms.com/product-docs/6.2/Administration/Language/Generic-i18n-keys.html for other apps):
- dam.upload.field.sizeAbortMessage
- documents
-
MGNLUI-6390 allowedMimeTypePattern property doesn't work as expected
- Closed
-
MGNLUI-6543 maxUploadSize property doesn't work as expected
- Closed