© 2026 Hedgehog Software, LLC
table_1: id published (bool) completed (bool) table_2: id table_1_id start (date) end (date) title (string) content (text)
hasOne
public function form(Form $form): Form { return $form ->schema([ Section::make('Name of the section 1') ->schema([ Toggle::make('published')->required() ]), Section::make('Name of the section 2') ->schema([ Toggle::make('completed')->required(), Group::make() ->columns() ->relationship('infos') ->schema([ DatePicker::make('start') ->label('Start date') ->required(), DatePicker::make('end') ->label('End date') ->required(), TextInput::make('title') ->required(), ]) ]), Section::make('Name of the section 3') ->relationship('infos') ->schema([ RichEditor::make('content') ]), ]); }