Geoff.
Macro is not working when testing with Pest
Hello all I am using this plugin https://github.com/outer-web/filament-translatable-fields and when I want to write a test now I am getting the error that translatable does not exist. How to add the plugin also in the test environment?
Here is the error:
Illuminate\View\ViewException: Method Filament\Forms\Components\TextInput::translatable does not exist.
Here is the test:
45 replies
multitenacy combined with tenancyforlaravel and filament shield permission problem
Hello all,
I have a a problem with the permissions of filament shield. When i run the shield:generate on the admin app all is working for the admin. But then when I run the shield:generate for the tenant (different database) with tenants:run … the permissions are ok for the tenant but not anymore for the admin.
I think it has something todo with the caching of the permissions.
So two quesions:
Is there a way to disable the caching of the permission for testing purpose?
Is there a way to cache the permissions for a panel?
I hope someone knows the answer 😬
Thanks already
14 replies