Is it possible to open modal on change the status of Select Field ?
In laravel filament form is it possible to open modal on change the state of select dropdown ?
Solution:Jump to solution
then open it with
->afterStateUpdated(fn ($livewire, $component) => $livewire->mountFormComponentAction($component->getStatePath(), 'ACTION NAME HERE'))
6 Replies
While changing the status.
Have you registered the action to the form component?
thats the first step
Here I want to show this code on modal when the satus is approved
Solution
then open it with
->afterStateUpdated(fn ($livewire, $component) => $livewire->mountFormComponentAction($component->getStatePath(), 'ACTION NAME HERE'))
Thank You @Dan Harrin It worked!, You save my whole day !