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

    sending text values on uploader

    Help
    3
    5
    138
    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.
    • Z
      zeppelinexpress last edited by

      hello, I want to know what is the better way to send text values with uploader

      <q-uploader
        class="q-ma-md"
        method="POST"
        :url="urlUpimg"
        label="Foto do vendedor"
        accept=".jpg, image/*"
        @rejected="onRejected"
        field-name="profile_pic"
      />
      

      I need a good solution to send an extra field, like:
      screen.jpg

      beets 1 Reply Last reply Reply Quote 0
      • beets
        beets @zeppelinexpress last edited by

        @zeppelinexpress See the form-fields prop under the Upload section: https://quasar.dev/vue-components/uploader#QUploader-API

        You can use a function to return the values from your form

        dobbel 1 Reply Last reply Reply Quote 2
        • dobbel
          dobbel @beets last edited by

          @beets

          You memorized the entire Quasar doc 😉

          beets 1 Reply Last reply Reply Quote 0
          • beets
            beets @dobbel last edited by

            @dobbel lol, I’ve probably been over every component several times.

            1 Reply Last reply Reply Quote 0
            • Z
              zeppelinexpress last edited by

              thanks @beets, I always take a look at the docs before asking, this time it went unseen 🙂 btw solved.
              I also want to memorize the entire docs haha

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