Jack Sleight
Jack Sleight
FFilament
Created by Jack Sleight on 4/11/2024 in #❓┊help
Custom grid column widths
Is this the best way to give a Grid component custom column widths, or have a missed something more official? The child *: variant is required as the extra classes are applied to the wrapper not the element with grid set.
->extraAttributes(['class' => '*:lg:grid-cols-[auto_1fr_1fr]'])
->extraAttributes(['class' => '*:lg:grid-cols-[auto_1fr_1fr]'])
1 replies
FFilament
Created by Jack Sleight on 10/20/2023 in #❓┊help
Passing an ID to a custom edit action
I'm trying to create an edit action on a custom page that allows me to edit a model directly from the page (rather than going to the normal resource page). It mostly works, but I'm running into problems passing the right model ID to the action as an argument. If I hard-code an ID it works perfectly.
124 replies