bro this is very great. I have never since this filter using ajax. No one has done it using livewire. thank u very much. Pls can you make filter using checkboxes so that one can have multiple set of results. thank u bro
Hello, Thanks for your tutorial. I find a bug and I dont know how to fix it. when I change page to ?page=23, if I select change the option. I will got the empty data because current page=xxx. So, I think when change the select option , liverwire to clear the $this->prePage will be better. But I cant do it
Question is, when clicking 'Edit' to edit a record, I am guessing that a new page is displayed (maybe a modal?), and after saving the changes, is the 'countries' page (index) keeping the filters applied?
hello when I am searching somethin in input field its shows me 404 page not found error I have done all the configuration related to livewire but nothing is working please help me out Thanks
Great Tutorial Thank you for your hard work. Can you help me how can i add more dropdown filter? like another this: 'countries'=>Country::when($this->byLocation, function($query){ $query->where('location_id', $this->byLocation); })
This is a bit of shit code : 1) because based on the laravel documentation, the return and get() functions are missing 2)This code is vulnerable to SQL injection
bro this is very great. I have never since this filter using ajax. No one has done it using livewire. thank u very much. Pls can you make filter using checkboxes so that one can have multiple set of results. thank u bro
Thank you opah princewill, I will try .
@@sawastacks, thank u bro
You save my project. Thanks Man
Thank you.
A github repo of this would be nice.
Hello, Thanks for your tutorial.
I find a bug and I dont know how to fix it.
when I change page to ?page=23, if I select change the option. I will got the empty data because current page=xxx.
So, I think when change the select option , liverwire to clear the $this->prePage will be better. But I cant do it
Question is, when clicking 'Edit' to edit a record, I am guessing that a new page is displayed (maybe a modal?), and after saving the changes, is the 'countries' page (index) keeping the filters applied?
Did you try out power grid ?
hello when I am searching somethin in input field its shows me 404 page not found error I have done all the configuration related to livewire but nothing is working please help me out
Thanks
This was good!! but where is the get() method in the livewire ?? it didn't work for me without it , for that the pagination didn't work 😥
Hello, can I ask if you GitHub repository for this tutorial
Hi bro, it's nice lesson but in that code very easy make SQL injection
nice job, source code?
👍
Great Tutorial Thank you for your hard work.
Can you help me how can i add more dropdown filter?
like another this:
'countries'=>Country::when($this->byLocation, function($query){
$query->where('location_id', $this->byLocation);
})
'countries'=>Country::when($this->byLocation, function($query){
$query->where('location_id', $this->byLocation);
})
->when($this->byGDP, function($query){
$query->where('gdp', $this->byGDP);
})
->when($this->byAny, function($query){
$query->where('any', $this->byAny);
})
video flou
This is a bit of shit code :
1) because based on the laravel documentation, the return and get() functions are missing
2)This code is vulnerable to SQL injection
Are you depressed? Voice is kinda monotone! :joy