How do we get the fields relationship value in visible?

in formatStateUsing we use $state, but using $record in visible, there is no relation value so we cannot use that. What's the approach to render an icon where there is a value in a relationship?

company.id

if it has one, render link to the company.
Was this page helpful?