Filtering by clicking on column
I'm trying to set a table filter by clicking on the corresponding value in a table column using
Using the following code
has no effect.
The column (including the description, unfortunately) is clickable, and a request gets sent, but nothing else happens. Am I missing something? Do I have to tell the component to re-render?
Setting a filter in html using
action() (as extraAttributes() gets escaped by blade).Using the following code
has no effect.
The column (including the description, unfortunately) is clickable, and a request gets sent, but nothing else happens. Am I missing something? Do I have to tell the component to re-render?
Setting a filter in html using
wire:click="$set('tableFilters.filterName', [ '{{ $value }}' ])" does work fine, but is not achievable currently without overwriting the column templates and adding custom code.