In classic UI we were able to let users drag images and drop them to one of the tabs in the dialogs. However accordingly to Adobe's documentation in TouchUI we should use fileupload instead of html5smartimage.
html5smartfile, html5smartimage -> granite/ui/components/foundation/form/fileupload https://docs.adobe.com/docs/en/aem/6-0/develop/the-basics/touch-ui-concepts.html
Is there a way to disable the file upload functionality on the TouchUI? I am thinking that Adobe is encouraging users to use the dropTarget feature of the TouchUI instead of a tab in the dialog. However, we would like to make sure that the experience is consistent and we would like to use a tab in the dialog.
Thoughts?
You only need to add
allowUpload="{Boolean}false"
in the definition ofgranite/ui/components/foundation/form/fileupload
field in dialog