#Widget On Relation Manager

5 messages · Page 1 of 1 (latest)

agile quest
#

Hi, may i know , is that possible to add widget on relation manager ? if yes . does the way is same as normal register on resource ?

analog dawnBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

oak umbra
#

I think there should be a getHeaderWidgets() or similar method.

delicate barn
#

Curious if theres an update to this? I can get the widget to display in my resource, but not in the relationmanager. I'm using the same getHeaderWidgets method.

oak umbra
#

I just checked again: Widgets are parts of Pages and not Relation managers. So you can register widgets for your Edit/View Page but not for the relation manager. You could change the view for a relation manager and add the code for widgets though if you absolutely need it. Check the list-records.blade.php for reference