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

    autocomplete

    Help
    2
    3
    800
    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.
    • E
      Epo last edited by Epo

      I am using 5 different autocomplete which are using the same api with different calls but i dont want to create a search function for each of the autocomplete fields. instead i want to solve this dynamic. So how can i send a additional value to the search function or how can i call an other function before search function an pass/set the value there.

      I also saw that there is a filter property for the autocomplete fields but how i can use it?

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

        If I recall correctly, the filter prop is currently only for internal usage. So, you can’t use it at all.

        As for all your autocomplete comps using the same search function, how about using a mixin? https://vuejs.org/v2/guide/mixins.html

        Scott

        1 Reply Last reply Reply Quote 0
        • E
          Epo last edited by

          Thx, i used @focus on the q-search element. So i set the correct parameter for each autocomplete

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