No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Q-uploader event on failed file addition

    Framework
    2
    2
    125
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      stuffy last edited by

      Is there a way to catch a failed file addition. We need to notify user when they drop unsupported file format. Currently it simply do not add the file but not able show any error to the user.

      Does anyone know of a way?

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        What does unsupported file format mean? Are you using the accept prop or a filter to make sure the file is supported (guessing at what you mean)? You write “Currently it”. Currently what? Your code or QUploader? Can you show a codepen or codesandbox of what you’ve done?

        Theoretically, it’s your function that does the uploading. So, it’s up to you to warn the user.

        Scott

        1 Reply Last reply Reply Quote 0
        • First post
          Last post