Pass parameters to @filter in q-select

  • q-select has the method @filter with 3 options (val, update, abort).
    I need to pass extra parameters to the function but it looks like it’s impossible because the function accept only


    I need something like


    And later access params like

    FilterFn ({ val, update, abort }, { params }) {
      console.log(params) // 'tokyo'  


  • @bago @filter="(val, update, abort) => { filterFn(val, update, abort, extraParams, extraParams2, ...).

  • @metalsadman Excellent ! Exactly what I was looking for.
    Thanks a lot !


Log in to reply