© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
8 replies
Patrick Boivin

Possible bug with Builder field and FileUpload

I've been chasing a bug I thought was in my project and I just want to confirm that I'm not losing my mind 😅

Here's a simplified example:
    Builder::make('test')->blocks([
        Block::make('file')->schema([
            FileUpload::make('file'),
        ])
    ]),
    Builder::make('test')->blocks([
        Block::make('file')->schema([
            FileUpload::make('file'),
        ])
    ]),


1. Start on an empty form
2. Add a block, leave it empty
3. Delete the block
4. See the following error in the Browser console:

module.esm.js:23899 Uncaught (in promise) TypeError: Cannot convert undefined or null to object
...
module.esm.js:23899 Uncaught (in promise) TypeError: Cannot convert undefined or null to object
...
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Problem with FileUpload and translatable field
FilamentFFilament / ❓┊help
3y ago
Fileupload field and Grid
FilamentFFilament / ❓┊help
15mo ago
Help with builder field and multilanguage
FilamentFFilament / ❓┊help
2y ago
FileUpload inside Builder with SpatieMediaLibrary and AWS S3
FilamentFFilament / ❓┊help
3y ago