Conditionally hide SelectColumn based on email domain
I'm working on a Laravel project using FilamentPHP and need some help conditionally hiding a column in a table.
The
Is there a way to conditionally hide a column based on a record's attribute like this in FilamentPHP?
The
department_id column should only display when the user’s email address does end with @mycompany.com. If it doesn't, I'd like this column to be hidden for that specific row.Is there a way to conditionally hide a column based on a record's attribute like this in FilamentPHP?