F
Filament9mo 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 Zeus9mo ago
you have the wrong use for the section there is two section one for forms and another for Infolists
brahim
brahim9mo ago
but i want make form and infolist use Filament\Forms\Components\Section; use Filament\Infolists\Components\Section;
Solution
Lara Zeus
Lara Zeus9mo ago
use Filament\Forms\Components\Section; use Filament\Infolists\Components\Section as SectionInfoList then use
SectionInfoList::make()...
SectionInfoList::make()...
brahim
brahim9mo ago
ty so muchhhh