© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
kamilzeliasz

Problem with form fields

Hello. I have a problem with TinyEditor when I turn on the action modal a second time without reloading the page.

I have the page divided into sections, each section has its own class with a form definition e.g.:
https://gist.github.com/kamilzeliasz/8aa697b72e363409e6c64f71d7fa32ab

Definition of section editing action:
https://gist.github.com/kamilzeliasz/d41fe1f0b9bf333240f4dd5286966e6f

I attach a video showing the problem. I noticed that the problem only occurs if there is a FileUpload in the form.
In addition, if the definitions in the action in
$this->form
$this->form
put an array with values from getForm from HeroSection, everything behaves correctly. The problem is when we use
$section = app($record->type);
$section = app($record->type);
.
Could someone guide me what the error is due to? Thanks.
Gist
Section definition
Section definition. GitHub Gist: instantly share code, notes, and snippets.
Section definition
Gist
Edit section action
Edit section action. GitHub Gist: instantly share code, notes, and snippets.
Edit section action
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Merge resource $form with Pivot Fields
FilamentFFilament / ❓┊help
2y ago
Form state for fields with relationship
FilamentFFilament / ❓┊help
3y ago
Problem with split form components
FilamentFFilament / ❓┊help
3y ago
Testing modal form fields.
FilamentFFilament / ❓┊help
8mo ago