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]),
image.png
Was this page helpful?