© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
11 replies
pocket.racer

How to hide placeholder of file upload field?

So I want to show some uploaded files without allowing delete or upload new files but there is this huge ugly placeholder just above, and I don't see to have anyway to hide the placeholder. If I don't set placeholder, there will be some default text, if i set placeholder to empty string, there will still be that big fat rectangular above the files even if there is no text

How can I hide that big fat rectangle placeholder above the files?

This is my code. Thank you

FileUpload::make()
  ->openable()
  ->previewable(false)
  ->placeholder('Big Fat Rectangle above the file even if empty string')
  ->deletable(false)
  ->disabled()
  ->dehydrated(false),
FileUpload::make()
  ->openable()
  ->previewable(false)
  ->placeholder('Big Fat Rectangle above the file even if empty string')
  ->deletable(false)
  ->disabled()
  ->dehydrated(false),
CleanShot_2024-09-06_at_15.18.36.png
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

Hide field based on file upload.
FilamentFFilament / ❓┊help
3y ago
Simple file upload field
FilamentFFilament / ❓┊help
3y ago
How to set existing image to file upload field?
FilamentFFilament / ❓┊help
3y ago
Hide border of Fieldset
FilamentFFilament / ❓┊help
15mo ago