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

    How to get uploaded file URL from Quasar Uploader

    Framework
    images quasar uploader
    2
    2
    1066
    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
      solmn last edited by

      Do you guys know how to get uploaded file URL from Quasar Uploader?

      <q-uploader
                            @uploaded="upload"
                            color="grey-11"
                            text-color="black"
                            url="http://abc.com/index.php"
                            multiple
                            extensions=".gif,.jpg,.jpeg,.png"
                            method="POST"
                            additionalFields="[{name:'Accept', value:'application/json'}]"
                          >
      
      1 Reply Last reply Reply Quote 0
      • J
        jackshieh last edited by

        Add a “ref” property as the following and you can get the “url” through the name of “ref” by using “this.$refs.uploader.url”
        <q-uploader ref=“uploader” url=“http://abc.com/index.php” …/>

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