© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•14mo ago•
2 replies
Rolland

Fix warning message ViewColumn

Tables\Columns\ViewColumn::make('status')
     ->view('filament.resources.itrf.components.stage-status-badge'),
Tables\Columns\ViewColumn::make('status')
     ->view('filament.resources.itrf.components.stage-status-badge'),


warning message:
"Argument '1' passed to view() is expected to be of type Filament\Support\Components\view-string|null, string givenPHP(PHP0406)"

I am wondering, if I could fix/resolve the warning message if its possible. What are the options other than creating a custom column?
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

Custom ViewColumn styles
FilamentFFilament / ❓┊help
3y ago
Custom CSS for ViewColumn
FilamentFFilament / ❓┊help
7mo ago
Limit text in viewColumn
FilamentFFilament / ❓┊help
3y ago
Warning/error message on click field
FilamentFFilament / ❓┊help
2y ago