livewire-datatables
livewire-datatables copied to clipboard
Incorrect behaviour of activeSelectFilter ?
Hi,
Thanks for this development, it's wonderful.
I have a problem with activeSelectFilter.
If I use it in class before methods with à value, it's ok. But if I use it in methods, the behavior is different.
it look like that if I use it in a method, it's not possible to unselect.
In laravel, I use "auth()->user()->attribute" and it's not possible out methods.
Someone can help me with an example ?
That I would like to do : filter my table with a value providing by "auth()->user()->attr" like a select, but that I can unselect to get the entire of my data.
Thanks very much for your help !
Laravel 8.xx Php 7.4 livewire 2.4 livewire-datatable 0.7.0
S.