You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
Thanks in advance
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: