trigger action

Action::make('preview')
->label('')
->icon('heroicon-o-eye')
->color('gray')
->extraModalWindowAttributes(['class' => 'upload_cover_image'])
->modalHeading('')
->modalContent(fn($record): View => view(
'test',
['record' => $record],
)),

I have the above action in the action table.
In the modal of the above action there is a button as below
<button wire:click="showFieldEditor(3)"
style='color: #ffffff; font-weight: bold; background: #33456E; border-radius: 6px; padding: 6px 45px; font-size: 14px'>

</button>
When i press this button i want another action to be executed (this frozen action is also writing in the table action) i tried other ways but only the action preview is closed, but the action is not executing according to its mode
image.png
Was this page helpful?