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:Jump to solution
use Filament\Forms\Components\Section;
use Filament\Infolists\Components\Section as SectionInfoList
then use
...
...
4 Replies
you have the wrong
use
for the section
there is two section one for forms and another for Infolistsbut i want make form and infolist
use Filament\Forms\Components\Section;
use Filament\Infolists\Components\Section;
Solution
use Filament\Forms\Components\Section;
use Filament\Infolists\Components\Section as SectionInfoList
then use
ty so muchhhh