resetPage does not exist on custom page
I created a custom filament page and I'm trying to use the Livewire
$this->resetPage()
method but I'm getting resetPage does not exist.
error.
I thought custom pages are full livewire components as stated in the documentationSolution:Jump to solution
Thanks for your support. I was able to figure it out. resetPage() method is only available in the
Livewire\WithPagination
trait.8 Replies
are you using a table in the custom page?
No, I’m not using table but forms
So, why you are trying to use resetPage() ?
I have custom filters, and I when a filter is selected, I want to update the results shown on the page.
Share some code to explain what you are trying to achieve
Solution
Thanks for your support. I was able to figure it out. resetPage() method is only available in the
Livewire\WithPagination
trait.Yep, available in tables
Thanks for the heads up. Now I see why you're asking if I was using table