fix(company and media): change return type in attachment

This commit is contained in:
Yoga Pangestu 2026-01-12 15:23:27 +07:00
parent 6fe5e81717
commit fefa67cb11
2 changed files with 4 additions and 5 deletions

View File

@ -224,8 +224,8 @@ public static function form(Schema $schema): Schema
],
collect($documents)
->map(function (array $doc): void {
Section::make($doc['title'])
->map(function (array $doc): Section {
return Section::make($doc['title'])
->schema([
TextInput::make($doc['text_name'])
->hiddenLabel()

View File

@ -168,10 +168,9 @@ public static function form(Schema $schema): Schema
Group::make()
->schema(
collect($documents)
->map(function (array $doc): void {
Section::make($doc['title'])
->map(function (array $doc): Section {
return Section::make($doc['title'])
->schema([
TextInput::make($doc['text_name'])
->hiddenLabel()