Filament's FileUpload uploads strings of paths and not TemporaryFile in V3

public function form(Form $form): Form
{
return $form
->schema([
FileUpload::make('files')->multiple()->preserveFilenames()->required(),
TextInput::make('name')
])->statePath('data');
;
}
public function form(Form $form): Form
{
return $form
->schema([
FileUpload::make('files')->multiple()->preserveFilenames()->required(),
TextInput::make('name')
])->statePath('data');
;
}
This is my form method. this exact same one used to provide an array of TemporaryFile objects before i migrated to V3 from V2.
0 Replies
No replies yetBe the first to reply to this messageJoin