Filament Form Slow with Hundreds of Repeater Rows – Any Solutions?
Hey everyone!
I’m using FilamentPHP for a multi-step (wizard) form and I’m running into serious performance issues with a custom table row repeater.
I use it with a relationship, and when there are a lot of rows (like 350+), the data sent back and forth becomes huge and the form takes forever to load or update.
Has anyone experienced this?
Is this a known limitation with Filament/Laravel/Livewire rendering, or could it be that my implementation isn’t optimized?
Any tips or workarounds to handle large repeaters in Filament forms would be greatly appreciated!
Thanks a lot for all the amazing work on FilamentPHP and for keeping the community active and helpful! ❤️
3 Replies
Yes, big amount of data is a known limitation of Filament and Livewire since the whole HTML needs to be transferred on every change and diffed with the current DOM
I'd suggest using a RelationManager with Pagination.
Thank you for your reply
I thought I saw that filamentphp v4 solved this kind of rendering problem?
It doesn't solve it. It's optimized though. We render less HTML and try to render only parts of the HTML