arnaudsf
Multi-tenancy for models with no direct relation to user
Did you try to create resource for non tenant model ? If yes, I think it's not the good way to do.
All the non-tenant, relationship are done with the relation manager. So you just have to give the relationship of your main domain who is linked to the tenancy
9 replies
Filament File Upload Custom Relationship
Hello, 3 ways to do that :
1/ Use a relation manager
2/ Use a repeater
3/ On your FileUpload, use multiple() and ->relationship(), as well Filament provide a method to preserve the original name.
In Your JobPosting model, create a HasMany relationship
As well, just for "good practices", prefer put the foreign keys at the beginning of your migration, after the id
6 replies
Form select not updating options data
just for record if somebody is looking for it but I wasn't satisfyied by the createOption because I would to have a hintAction.
So I changed the createOption for hintAction, do my stuff the $set('my_select', newId) works.
My select is relatioship and it works
6 replies