Defenestrația
Defenestrația
FFilament
Created by Defenestrația on 1/8/2024 in #❓┊help
Possible to use infolists with Relation Manager?
Nevermind... looks like I can do this with tables using "contentGrid()"
3 replies
FFilament
Created by Defenestrația on 11/26/2023 in #❓┊help
RelationManager not displaying until another action is taken
Found the answer here: https://github.com/filamentphp/filament/compare/fdf9e831cae3b9774702ef516876386b5da2eed4...26bf88b3e4c0d120d6391cd01f469a85b4172d54 I needed to update my custom views to match the updates made in this pull request.
3 replies
FFilament
Created by Defenestrația on 11/22/2023 in #❓┊help
Middleware for specific resources or pages
So, I figured it out... you can add $routeMiddleware to Resources and Pages...
public static array|string $routeMiddleware = ['specialmiddleware'];
public static array|string $routeMiddleware = ['specialmiddleware'];
8 replies
FFilament
Created by Defenestrația on 11/22/2023 in #❓┊help
Middleware for specific resources or pages
Sorry, I'm not providing enough context. I have a vendor middleware that I don't necessarily want to modify, but I want to call it on specific routes in my application. I'm looking for a behavior similar to Route::middleware(['vendormiddleware'])->group(function () { **my routes** });
8 replies
FFilament
Created by Defenestrația on 11/22/2023 in #❓┊help
Middleware for specific resources or pages
How would I call it? Filament automagically generates routes, so I can't declare it in the routes/web.php file
8 replies
FFilament
Created by Defenestrația on 11/19/2023 in #❓┊help
Modifying the breadcrumbs
Aha! On the page, not on the resource. Thank you so much!
5 replies
FFilament
Created by Defenestrația on 11/18/2023 in #❓┊help
mutateFormDataUsing not called if no form is present
Aha, I figured it out. I can use CreateAction::make()->using() and $this->ownerRecord to access the parent record to get the ID needed to create the model.
4 replies