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 : how to disable the upload button ?

    Help
    3
    4
    744
    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.
    • T
      twistedcat last edited by

      I want user to be able to select their file but NOT upload them using the uploader button. Is it possible to hide it or disable it ?

      I tried readonly , which appears to do nothing, and disabled which disables the whole uploader.
      I also tried to redefined an upload-factory that does nothing, but of course when I actually want to upload the file with upload(), my dummy upload-factory is called and nothing happens.

      Any lead ?

      1 Reply Last reply Reply Quote 0
      • T
        twistedcat last edited by

        So for now I ended up with two method, dummyUpload() which I declare as upload-factory when creating my uploader and uploadFile() which I call when I want. This last method fetchs the files and upload them using a custom method.

        Not very satisfying.

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

          What’s the purpose of having them select the file but not upload it? Can you explain the overall experience you are trying to create?

          Scott

          1 Reply Last reply Reply Quote 0
          • H
            husseinjahan last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • First post
              Last post