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

    QSelect and Event Filter

    Help
    2
    7
    576
    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.
    • ahiguita
      ahiguita last edited by

      Hi guys,

      Event filter of QSelect support 3 param input, Val: String, Update: function and Abort: Function too.

      Maybe it’s a very silly question, but I really don’t know how to do it, how to can I send a Custom value in VAL parameter and keeping the UpdateFn and AbotFN?

      1 Reply Last reply Reply Quote 1
      • metalsadman
        metalsadman last edited by

        The value is coming from what you typed in the qselect. What are you trying to do exactly?

        1 Reply Last reply Reply Quote 0
        • ahiguita
          ahiguita last edited by

          Hi @metalsadman
          my challenge is because I need to call an API and fill the Items List according to with the result

          • I could have 1 or more QSelect by page.
          • The item list (Options) is completed after an API call.
          • I need to know which QSelect was activated, to get the query parameters and Call the API.

          https://codepen.io/nomada86/pen/NWKRZaw?&editable=true&editors=101

          metalsadman 1 Reply Last reply Reply Quote 0
          • metalsadman
            metalsadman @ahiguita last edited by

            @eurus-pro said in QSelect and Event Filter:

            Hi @metalsadman
            my challenge is because I need to call an API and fill the Items List according to with the result

            • I could have 1 or more QSelect by page.
            • The item list (Options) is completed after an API call.
            • I need to know which QSelect was activated, to get the query parameters and Call the API.

            https://codepen.io/nomada86/pen/NWKRZaw?&editable=true&editors=101

            try this https://codepen.io/metalsadman/pen/xxKEooG?editors=1011, see logs.

            1 Reply Last reply Reply Quote 0
            • ahiguita
              ahiguita last edited by

              @metalsadman
              Had not thought of that!!! You’re the best! Thanks so much!

              metalsadman 1 Reply Last reply Reply Quote 0
              • metalsadman
                metalsadman @ahiguita last edited by metalsadman

                @eurus-pro said in QSelect and Event Filter:

                @metalsadman
                Had not thought of that!!! You’re the best! Thanks so much!

                np, see the update, look like you need to pass all the params, just put pass it in an object. https://codepen.io/metalsadman/pen/xxKEooG?editors=1011

                1 Reply Last reply Reply Quote 2
                • ahiguita
                  ahiguita last edited by ahiguita

                  Thanks again @metalsadman .

                  I added another change required and now it’s work as I need
                  https://codepen.io/nomada86/pen/NWKRZaw

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