SpatieFileUpload data not getting with getState()

I have custom page in filament
use Filament\Pages\Page;
class CareerApplyJob extends Page

and file upload field
Forms\Components\SpatieMediaLibraryFileUpload::make('personal_photo')
                        ->preserveFilenames()
                        ->label('Personal photo')
                        ->collection('personal_photo')
                        ->visibility('publico')
                        ->disk(config('filesystems.default'))
                        ->openable()
                        ->previewable()
                        ->acceptedFileTypes([
                            'image/jpeg',
                            'image/png',
                        ])
                        ->maxSize(2048)
                        ->required()

when getting the dd($this->form->getState()); the data of files not comming
Was this page helpful?