Wrax
Stumped on file handling files with Forms + Spatie Media on Custom Page
Did you give the form access to the model?
https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component#setting-a-form-model
4 replies
Hide a line in navigation group
Alternatively you could use a custom svg icon and create simple circle/bullet svg (or any other shape of your preference).
https://filamentphp.com/docs/3.x/support/icons#using-custom-svgs-as-icons
8 replies
Hide a line in navigation group
The line element is the first child of a parent element with
fi-sidebar-item-grouped-border
so you should be able to safely target it with something like
Adding this css to your theme.css file would apply the tailwindcss hidden
class to the first child div of an element with fi-sidebar-item-grouped-border
8 replies
How to keep footer hook stuck at the bottom
You shouldn't need a plugin for this.
I think maybe some styles are conflicting. Open inspector in the browser and check what's going on with the style classes on these elements.
Something must be overriding
h-full
on <main>. You might have a rouge style interfering via .fi-main
or similar. Inspector will reveal all 😄10 replies
How to keep footer hook stuck at the bottom
You probably just want to use
FOOTER
, and optionally scope it.
Using PAGE_FOOTER_WIDGETS_AFTER
or PAGE_FOOTER_WIDGETS_BEFORE
hooks will align them how you've shown.
A helpful resource to visualise it: https://filamentexamples.com/tutorial/render-hooks-cheat-sheet10 replies
Dropdown items Sidebar
check out clusters:
https://filamentphp.com/docs/3.x/panels/clusters#overview
5 replies
Not an error but a question for an issue
Make a filament page in the panel for your custom logic.
https://filamentphp.com/docs/3.x/panels/pages#overview
4 replies
Grid not applying to Section
Have you tried defining
->columnSpan(1)
on the Grid's child fields? Assuming your $grid is equal to 4.
You might also be better off passing an array so you can explicitly set responsive breakpoints & override the 'default'
more:
https://filamentphp.com/docs/3.x/infolists/layout/grid#grid-component5 replies
How to use filament component in front-end of website?
It's not clear how you've configured your layout. There is useful information relating to layout setup here:
https://filamentphp.com/docs/3.x/notifications/installation#configuring-your-layout
Providing more context might help identify your issue
7 replies