F
Filament7mo ago
EMMAN

Modal Popup on 'ImageColumn' Click - Table

Good day. It is possible to display a Modal on a click on 'ImageColumn' on table? CURRENT CODE: Tables\Columns\ImageColumn::make('requirement_qrcode_path') ->height('80%') ->width('100%') ->getStateUsing(function (RequirementsManagement $record): ?string { return $record->requirement_qrcode_path ?? ''; }) ->extraImgAttributes([ 'img' => 'src' ]),
2 Replies
EMMAN
EMMANOP7mo ago
up
LeandroFerreira
LeandroFerreira7mo ago
I think you can use ->action(Tables\Actions\Action::make('modal')...) https://filamentphp.com/docs/3.x/actions/modals#custom-modal-content
Want results from more Discord servers?
Add your server