© 2026 Hedgehog Software, LLC
$this->form->getState()
public function form(Form $form): Form { return $form->schema([ FileUpload::make('document') ->label('Upload Document') ->preserveFilenames() ->acceptedFileTypes(['application/pdf']) ->maxSize(12288) ->storeFiles(false) //->hidden(fn () => $this->statement?->document_id !== null) ])->statePath('data'); }
$this->form->fill($this->statement->attributesToArray());
public function save(): void { dd($this->form->getState()); }