Table.setFilter() is here!?

Hi @wilgrace,

I believe that there are two issues with this:

  1. filterValue should be a single string, so for a multi-select component you will need to add multiple filters. Something like the following would probably work here
if (owner_filter.value.length>1) {
  owner_filter.value.forEach(f => {
    filters.push({columnName: "customer_owner", filterValue: f, operator: "contains"})
  })
}
customers.setFilters(filters, "or")
  1. When passing multiple filters, you should set the filterStackType. FilterStackType must be either "and" or "or" (defaults to "and" if no value set):
setFilters([{ columnName: "name", filterValue: "max", operator: "contains" }, { columnName: "name", filterValue: "john", operator: "contains" }], "or")