F
Filament11mo ago
Wbzy

How to hide Relation Manager table when state is empty or there is no record

I have a post table with category long and short, in long category a post can create sub post but in short category a post cant make a sub post. how do i achive that?
Solution:
use canViewForRecord on the relation manager
Jump to solution
3 Replies
Patrick Boivin
Patrick Boivin11mo ago
Can you share a screenshot of your current page?
Solution
josef
josef11mo ago
use canViewForRecord on the relation manager
Wbzy
Wbzy11mo ago
Thanks, that works like a charm!