F
Filament10mo ago
yohanan

hintAction in custom livewire component form not working. same has createOptionForm

Hi there, Is it possible to use createOptionForm or hintAction in livewire component form? I've created an livewire component which implement HasForms. When i tried to use createOptionForm or hintAction on Select, nothing happening. No error, no modal. Can someone help please?
Solution:
did you add <x-filament-actions::modals /> ?
Jump to solution
10 Replies
awcodes
awcodes10mo ago
Did you do $this->form->fill() in mount()?
yohanan
yohananOP10mo ago
Yes.
awcodes
awcodes10mo ago
Can you share the code and the view?
yohanan
yohananOP10mo ago
Can i send a screenshots ?
Solution
LeandroFerreira
LeandroFerreira10mo ago
did you add <x-filament-actions::modals /> ?
yohanan
yohananOP10mo ago
No🤔. Just
<x-filament-panels::form wire:submit.prevent="create">
<x-filament-panels::form wire:submit.prevent="create">
yohanan
yohananOP10mo ago
It working now. 🫢Always read the docs. Thanks!
LeandroFerreira
LeandroFerreira10mo ago
yes, always ✌️
yohanan
yohananOP10mo ago
Thanks! Thanks!

Did you find this page helpful?