Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • 12.0p FileUpload allows to select more files and seems to upload them but does not do so

    Hi Isomorphic,

    please see the online FileUpload sample (v12.0p_2019-02-12).
    It seems to allow to upload two files, if you select two, but then only uploads the 1st, but uses the name of both combined as filename in the DB. Tested with Chromium 72.0.3626.81, EdgeHTML 17.17134, Firefox 26 on Win10 as well as with Safari on current MacOS.
    IMHO it should not allow to select two files. Please see this screenshot:

    Click image for larger version

Name:	FileUpload.png
Views:	1
Size:	19.5 KB
ID:	256838

    Best regards
    Blama

  • Blama
    replied
    Hi Isomorphic,

    thanks. Setting { name: "image", type: "imageFile", multiple:false, hint: "Maximum file size is 5 MiB" } does solve this and also the docs say that this is expected behavior. I did not know this.
    Can you then change the sample? It does not seem to handle multi-file uploads, so it should be disabled there.

    Best regards
    Blama

    Leave a comment:


  • Isomorphic
    replied
    Did you see the doc for FileItem.multiple?

    Leave a comment:

Working...
X