How to create form with Filament styles outside the panel?
Hi, guys, I am trying to create my first Filament form outside of panel, that I have created. I want to send email with signed URL, that will redirect user to fill some form that is on center of blank page styled like Filament panel. I am not sure how to do that easily.
5 Replies
Should I create new layout like this: https://filamentphp.com/docs/3.x/forms/installation#configuring-your-layout or there is a better easier way?
Yep
That's right as per the docs
I wrote an article on using Filament outside of panels if that can help you https://filamentmastery.com/articles/guide-to-using-filament-components-in-public-facing-pages
You can next use form in a livewire component
Filament Mastery
Guide to using Filament Components in public-facing pages - Filamen...
Learn how to integrate Filament components into your public-facing pages with this step-by-step guide.
I try it like this:
Is it good approach?
That is sure! getState validates too so perfect.