Relation manager only on view page
Guys, please let me know if is possible to display relation manager table only on main resource view page, (disabled on edit page). Thanks for answers.
Solution:Jump to solution
@FK21 you are right, thanks for advice. Only one small additional, it's must be public: ...
3 Replies
Add it to the ListRecord class and don’t register it on the Resource class.
You can add this into your editfile resource protected function getRelationManagers(): array
{
return [];
}
Solution
@FK21 you are right, thanks for advice. Only one small additional, it's must be public: