Actions not appearing in Relation Manager
I used the provided artisan command to create a relation manager for my users table, but none of the actions included in the boilerplate are appearing on the page. I can add a custom action and it will appear on the RM table - but none of the provided ones render.
Solution:Jump to solution
but you can change that by implementing
isReadOnly()
on the relation manager and just returning true6 Replies
Are you on the View page for hte parent record?
Yes
Are actions not available on the view page? If so is there a way to override that behavior?
yes and yes
By default they are not shown, as the assupmtion seems to be that you dont want to edit anything, not even relations
Solution
but you can change that by implementing
isReadOnly()
on the relation manager and just returning trueeh, false of course
Thank you very much!