Rendering filament form input components manually
I need to render some form components manually. Can this but done outside of the form?
Throws errors:
Undefined variable $getStatePath Undefined variable $getDatalistOptionsAll I need is the basic input with styling so that it appears the same as other form elements
4 Replies
Why not Form builder?
Seems a little overkill when all I need is a simple form control.
It's for a custom Livewire component that's already used in the form builder
U can have multiple forms in a single livewire component
In a few cases, I ended up copying the markup for a Filament field from the browser inspector (copy outerHTML) and pasted it in my project. From there, it's very easy to customize into a purely alpine or livewire use-case and the integration is visually seamless.