livewire-datatables icon indicating copy to clipboard operation
livewire-datatables copied to clipboard

Incorrect behaviour of activeSelectFilter ?

Open Slobug opened this issue 3 years ago • 0 comments

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.

Slobug avatar May 19 '22 06:05 Slobug