How to access Model $record when using ->visible() or ->hidden()?
This is not working
i am getting this error:
i am getting this error:
TextColumn::make('email_verified')
->visible(fn(User $record) => $record->verified()),App\Livewire\Portal\ManageUsers::App\Livewire\Portal\{closure}(): Argument #1 ($record) must be of type App\Models\User, null given, called in /Users/vahnmarty/Projects/mysi-v2/vendor/filament/support/src/Concerns/EvaluatesClosures.php on line 35