-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laravel Livewire fails to update a component with Model Caching Enabled #377
Comments
Hi @ajnorman-dev, would you be able to submit a failing unit test for this? |
Hi @mikebronner, unfortunately I don't have a unit test set up any livewire component up yet. I can see that the ajax request is sent off for the second page of blogs, however the html payload returned is null. |
please find a solution for Laravel Livewire pagination cache fix. |
Same Issue here with Livewire Pagination and the package:
|
@jihadismail8 Thanks for following up on this. Unfortunately I can't promise any timeline for this, as this isn't on my radar for now. I would love to review and merge a PR that addresses this, though. |
Same Issue here :/ |
Describe the bug
Laravel Livewire fails to return the next/previous page of a paginated list while Model Caching is enabled. Turning model caching off or using
disableModelCaching()
on the query restores normal functionalityEloquent Query
Please provide the complete eloquent query that caused the bug, for example:
Stack Trace
No error is given by the application
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: