How to access $record in a ->visible() method?
I am 100% sure that record is not null. but when i dd it, its shows that record is null, how to get $record or a $state in a ->visible() method? Thanks!

Solution:Jump to solution
This is a Table Column? You can't hide columns based on the record because that would break the table layout
2 Replies
Solution
This is a Table Column? You can't hide columns based on the record because that would break the table layout
Yes, this is a table column. In a visible method want to loop through relations in a different table and only display relation if at least 1 relation marches the search. To accomplish that I need to access the state or a record, but these values are null.