F
Filament12mo ago
Meymink

Section - must be of type string, array given

EDIT: i even copied code from the demo. Same error. Seems like a bug Hi, after todays update to 3.1, i noticed that my pages stopped working. These pages were working fine in 3.0.x After deleting few stuff i found out that Forms\Components\Section::make() is causing the error. I couldn't find anything new/different in the documentation. Is this a bug because when i delete Section component, everything works. View attachment for error. Code:
Group::make()
->schema([
Section::make()
->schema([
TextInput::make('name')
->label('Team name')
->required()
->maxLength(255),
])
->columns(2),
])
->columnSpan(['lg' => 2]),
Group::make()
->schema([
Section::make()
->schema([
TextInput::make('name')
->label('Team name')
->required()
->maxLength(255),
])
->columns(2),
])
->columnSpan(['lg' => 2]),
No description
1 Reply
Meymink
MeyminkOP12mo ago
Nevermind, problem solved! Turned out i had published Filament's resources files into (project)/resources/views/vendor/filament which were outdated after changes were made to the Section component in version 3.1 After deleting/updating them, the pages worked again.
Want results from more Discord servers?
Add your server