F
Filament13mo ago
brahim

Filament\Infolists\ComponentContainer::Filament\Infolists\Concerns\{closure}(): Argument #1 ($compon

Filament\Infolists\ComponentContainer::Filament\Infolists\Concerns{closure}(): Argument #1 ($component) must be of type Filament\Infolists\Components\Component, Filament\Forms\Components\Section given
Solution:
use Filament\Forms\Components\Section; use Filament\Infolists\Components\Section as SectionInfoList then use
...
Jump to solution
4 Replies
Lara Zeus
Lara Zeus13mo ago
you have the wrong use for the section there is two section one for forms and another for Infolists
brahim
brahimOP13mo ago
but i want make form and infolist use Filament\Forms\Components\Section; use Filament\Infolists\Components\Section;
Solution
Lara Zeus
Lara Zeus13mo ago
use Filament\Forms\Components\Section; use Filament\Infolists\Components\Section as SectionInfoList then use
SectionInfoList::make()...
SectionInfoList::make()...
brahim
brahimOP13mo ago
ty so muchhhh
Want results from more Discord servers?
Add your server