F
Filament12mo 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
awcodes12mo ago
Did you do $this->form->fill() in mount()?
yohanan
yohananOP12mo ago
Yes.
awcodes
awcodes12mo ago
Can you share the code and the view?
yohanan
yohananOP12mo ago
Can i send a screenshots ?
Solution
LeandroFerreira
LeandroFerreira12mo ago
did you add <x-filament-actions::modals /> ?
yohanan
yohananOP12mo ago
No🤔. Just
<x-filament-panels::form wire:submit.prevent="create">
<x-filament-panels::form wire:submit.prevent="create">
yohanan
yohananOP12mo ago
It working now. 🫢Always read the docs. Thanks!
LeandroFerreira
LeandroFerreira12mo ago
yes, always ✌️
yohanan
yohananOP12mo ago
Thanks! Thanks!

Did you find this page helpful?