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
7 Replies
What is the place holder? that's so blured
the placeholder is just above the black rectangle, that big white rectangle
even if i don't call ->placeholder() it still appear with some default text
->placeholder(' ')
or ->placeholder(false)
->placeholder('') tried before, still got that big white rectangle on top
->placeholder(false) i haven't try
false is not possible, in filament code it only accept null, closure or string
I tried all 3, doesn't remove that big white rectangle box
Just add some extra class attributes and hide it with css then if you want.
is it the ->meta() method?
->extraAttributes(['class' => 'my_class'])