F
Filament16mo ago
G3z

Defer table filters

I have fairly complex filters and when they change rapidly the state get's messy. the problem is that each filter triggers a refresh individually, is it possible to set a defer for the whole filters section ?
3 Replies
Dan Harrin
Dan Harrin16mo ago
i dont think we have an option for that at the moment but its a good idea! internally you would just ensure that we only pass ->reactive() to the filter form conditionally, and then add an Apply filters button to the bottom of the form
G3z
G3z16mo ago
I'm not sure I'm capable enough to make a PR anyway you prefer $table->columns([...])->filters([...], deferred:true) or $table->columns([...])->filters([...])->deferredFilters()
Dan Harrin
Dan Harrin16mo ago
probably shouldDeferTableFilters(): bool on the list page
Want results from more Discord servers?
Add your server
More Posts