tuto1902
Explore posts from serversTesting custom table filters
I have a table with the following custom filter:
I'm trying to write a test case for this filter that looks like this:
My problem is that, when I run this test, the data coming into the
->query()
method is empty
How can I set the values of a custom filter using ->filterTable()
?3 replies
Default Active Tab Not Working for Tab Filter
In my List page I have a Tabs filter for each day of the week. But when I try to set the default active tab, it just wont work. The default active tab is always the first one no matter what I return from
getDefaultActiveTab()
9 replies
Multi Tenancy Doesn't work With Modal (--simple) Resources
I have multi-tenancy setup on my panel. All the relationships are properly set on both the tenant and the resource models. New resource records created via modals (simple resource) won't get assigned to the current tenant, where if I create the same resource but without the --simple option, it works fine. Is there a reason why simple resources don't play well with multi-tenancy?
2 replies
TLCTuto's Laravel Corner
•Created by tuto1902 on 8/29/2023 in #💡filament
Following this post here, since it's Filament related
3 replies