chrislcarr
How to trigger a modal?
I'm a frontend developer and am trying to figure out how to trigger a modal to pop up from my blade file. I've been poring through the documentation and have been getting frustrated.
Basically, I have an existing blade file that I'm displaying as a page
x-filament::page
. I would now like to have it be displayed in a modal. I do not know how to do the steps to make that happen.
Could someone please point me to some examples/guidance? I must have missed something somewhere.9 replies
How to add a CSS class to a v3 widget?
In v2 of Filament, I have a blade file in resources/views/filament/widgets ... the very first line was
<x-filament::widget class="my-css-class-name">
. I saw in the "Upgrading from v2.x" documentation that has now changed to <x-filament-widgets::widget>
. I made that change but my-css-class-name
is not being added to the generated HTML. How do I do that now?8 replies