Steps: in my file dropzone component I did not declare heic as upload option, while i test it in editor mode it does not allow me to upload, but I see public submissions in our database where base64 mime type is image/heic.
How is this possible, and how can I restrict users from uploading such file?
That is definitely unexpected and shouldn't be possible. I did some testing both as an editor and public end user and am similarly unable to attach a heic file, so I'm particularly curious as to how this happened. I assume this is the only app/component that uploads to your database? What event handlers, if any, have you attached to fileDropzone1?