© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
9 replies
giuszeppe

Typed property Filament\Forms\Components\Component::$container must not be accessed

Hi, i'm trying to hide a column with a Closure filter to hide it when it is null.
Code is the following
Tables\Columns\TextColumn::make('fax')
                    ->searchable()
                    ->hidden(fn(\Filament\Forms\Get $get) => $get("fax") === null),
Tables\Columns\TextColumn::make('fax')
                    ->searchable()
                    ->hidden(fn(\Filament\Forms\Get $get) => $get("fax") === null),
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Calculated State Typed property Filament\Forms\Components\Component::$container must not be accessed
FilamentFFilament / ❓┊help
3y ago
`Typed property Filament...Component::$container must not be accessed before init` from custom field
FilamentFFilament / ❓┊help
11mo ago
typed property $table must not be accessed before inicialization
FilamentFFilament / ❓┊help
3y ago
Typed property Filament\Widgets\TableWidget::$table must not be accessed before initialization.
FilamentFFilament / ❓┊help
3y ago