F
Filament6mo ago
James

Widget table actions

I have a simple table widget, and I would like to render some HTML in a modal when the row is clicked (or action triggered). I have the ViewAction correctly rendering on the page, but clicking it does nothing, after about a second of two where it seems to be doing something. No errors, no feedback. What am I doing wrong?
Solution:
I had getTableRecordKey() method in my widget which seems to have offended Actions. Works once it's removed. (Cloned the widget from another one which didn't have record IDs)
Jump to solution
3 Replies
James
JamesOP6mo ago
Same as for the ViewAction, and does nothing other than a network request.
Solution
James
James6mo ago
I had getTableRecordKey() method in my widget which seems to have offended Actions. Works once it's removed. (Cloned the widget from another one which didn't have record IDs)
Want results from more Discord servers?
Add your server