F
Filament12mo ago
Igor

Is it possible to add a widget inside a form or above it?

I was wondering if adding a custom widget that I built inside a form or above it is possible, is a Google map to help the visualization of the data.
3 Replies
DrByte
DrByte12mo ago
The first thing that comes to mind that wouldn't mess with the form would be a link or action that would open a modal to offer the visualization. like a hint() link: https://filamentphp.com/docs/3.x/forms/fields/getting-started#adding-a-hint-next-to-the-label Or an Action button https://filamentphp.com/docs/3.x/forms/actions#defining-a-form-component-action
DrByte
DrByte12mo ago
(not saying a Widget couldn't be used ... but I haven't explored that)
Igor
IgorOP12mo ago
I think the widget I created here wouldn't be possible, because it is well coupled with the resource itself, but a custom view-only "input" could be a solution as it is decoupled, I'll try a few things and if I succeed I'll come back here with the solution
Want results from more Discord servers?
Add your server