multi-tenant: It doesn't filter everwhere
protected static ?string $tenantOwnershipRelationshipName = 'team';
.
This works well when I am into the UI for reach Resource, but when I am on the default Admin page and have added widgets with this code, it seems to ignore the multi-tenant filter. Or maybe I need to add a Global Scope to filter it? This is the code that is not filtering (eg. shows all records) - any clues?:...Pros/Cons in using Resource class vs *Record classes
Confused on how to handle sorting in Filament and Laravel
weird question - dynamically generated tailwind config file after form submission
Avatar from google not showing in edit form
[Missing parameter: tenant] On custom tenant page ?
Simple Multi-Tenancy and billing
->tenant(Team::class);
if you only have a simple one-to-many tenancy which I do have, but I fail to understand how I would use the ready-made solution to Laravel Spark since it uses ->tenantBillingProvider()
(https://filamentphp.com/docs/3.x/panels/tenancy#using-laravel-spark) if I don't have the ->tenant()
in the first place.
My tenant model is Account
which has many User
s and that's it....Displaying Custom Model attributes in a table
TagColumn::make('triggers.definedName)
TagColumn::make('triggers.definedName)
Resource visible in sidebar even if `viewAny()` returns false
export successful no notification
storage/app/public/filament_exports/
But the notification never comes.
...text column parses large number as float
3153414733313030323138383038
gets seen as a large number like 3.153414733313E+27
instead of just a string when using textColumn? When I add in my DB an A in front of the number it works just fine?Filapanel users not able to login
Is it possible to have a required (non-nullable) Select Form Component?
->nullable(false)
which adds an asterisk to the input, but I'm still able to remove the value from the select. Is there a way to avoid this? I'd love for nullable(false)
to remove the x
from the select box->selectablePlaceholder(false)
...Default entry point at login
How to completely override the search query for Select while also using relationship?
modifyQueryUsing
option you are still left with the LIKE statement in query. Trying to use getSearchResultsUsing
and relationship seems to just throw an error
foreach() argument must be of type array|object, null given
when trying to do a search. The relationship authors
is BelongsToMany
This code fails with the error:
`Select::make('authors')...Search options in SelectColumn
Livewire encountered corrupt data when trying to hydrate the [app.filament.resources.conference-reso
Default repeater items not working
Add a query with a join