Action to a Livewire component not working.
I have created a Livewire component SearchProduct and have added createLeadAction() to same livewire component. But it does not work.
Below is the issue:
-- Clicking on Create Lead action button on each product, opens modal with no form but only action button name "Create Lead Now".
-- When i click on this button, then also nothing happens. In fact, debug shows it never entered body of the code.
Attached the component and blade file code. Please help.
Below is the issue:
-- Clicking on Create Lead action button on each product, opens modal with no form but only action button name "Create Lead Now".
-- When i click on this button, then also nothing happens. In fact, debug shows it never entered body of the code.
Attached the component and blade file code. Please help.
code.txt3.53KB
Solution
You don’t need the modal blade component in your view.
Just output the action as you are and include
Just output the action as you are and include
<x-filament-actions::modals />