Filter On Load Or URL
Hi all
I hope someone can help.
I have a table in a livewire component ( not panel ). I have a link on another page which directs to this table page and modifies the query:
Howver when I click on the next page in the pagination it is lost.
So I wondered if there a way to save this?
OR
Have a filter (client drop down) be selected on page load).
Solution:Jump to solution
if you yuse
multiple()
try [request()->input('client_id')]
because i believe it want a array.5 Replies
Any ideas anyone? Sorry for the bump
Does something like this works for you?
Unfortunatly this didnt work. As soon as you go to another pages its lost
scrap that
it works if I take off the ->multiple() which I can live with
thank you ever so much
Solution
if you yuse
multiple()
try [request()->input('client_id')]
because i believe it want a array.This makes sense. Thanks again.