Navigation

    Quasar Framework

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Tags
    3. filter
    Log in to post
    • E

      q-table highlight filtered value
      Help • filter highlight hits q-table • • erhard

      2
      0
      Votes
      2
      Posts
      4
      Views

      N

      If I understood you correctly you could just wrap it in span element by using replace and then use v-html to render html. Something like this:

      <q-td key="calories" :props="props" v-html="props.item.calories.replace(searchValue, `<span style='color:yellow'>${searchValue}</span>`" > </q-td>
    • F

      Q-Tree: How to retrieve the filtered nodes instead of the entire nodes
      Help • filter q-tree • • Florentin

      8
      0
      Votes
      8
      Posts
      38
      Views

      F

      @xdesai Thanks a lot, it’s perfectly what i was searching for 😉

    • P

      Make autocomplete work with (fuzzysearch) custom filter
      Help • autocomplete custom filter fuzzy • • polger

      2
      0
      Votes
      2
      Posts
      1224
      Views

      P

      “Object(…) is not a function” error was due to incorrectly importing fuzzysearch as named import instead of default import.

      If you follow the showcase code, you should NOT import quasar’s filter function. Search function has to include “done(this.myFilter)” instead of “done(filter)”