Conditionally hide relationship manager table based on the toggle value in the form

I can hide a specific input field or even the whole section in a form with something like:

->visible(fn (Get $get) => $get('is_swimmer') === true)

for a User resource create/edit page - given the toggle field has

->live().

However, I don't know how to conditionally show a relation manager records (those I see under each form of a User record create/edit page) for only those users that have toggled the Is swimmer? field to true.

Right now the table with additional stuff (as relationship manager table) is available for everybody. How to conditionally show this table only for is_swimmer === true and hide for those who are not swimmers - haven't toggled on the is_swimmer field.
Was this page helpful?