I'd like a few of my relationship-based edit fields to, instead of the relationship selector, show custom html so I can link to that entity's admin page.
Similar to how I can do it for a col:
'savingsAccount' => [
'output' => function ($value) {
if ($value) {
$id = $value->id;
return "<a href=\"/admin/savingsaccounts/$id\">$id</a>";
}
}
Is this possible?
(this also would help me hack around morph relationships in #191)
I'd like a few of my relationship-based edit fields to, instead of the relationship selector, show custom html so I can link to that entity's admin page.
Similar to how I can do it for a col:
Is this possible? (this also would help me hack around morph relationships in #191)
Thanks in advance