You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into a small FileUpload UX case where I wanted the FilePond drop zone to show a pointer cursor on hover, since the drop zone is clickable.
FileUpload::extraAttributes() applies to the outer Filament wrapper, and extraInputAttributes() applies to the hidden/native file input, but neither reaches the FilePond-generated drop label or panel.
Right now the only practical app-side solution seems to be scoped theme CSS like:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I ran into a small FileUpload UX case where I wanted the FilePond drop zone to show a pointer cursor on hover, since the drop zone is clickable.
FileUpload::extraAttributes()applies to the outer Filament wrapper, andextraInputAttributes()applies to the hidden/native file input, but neither reaches the FilePond-generated drop label or panel.Right now the only practical app-side solution seems to be scoped theme CSS like:
That works, but it targets FilePond internals from application CSS.
Would you be open to a native API for this, for example something like:
or perhaps a broader API such as:
The goal would be to avoid custom CSS selectors for simple interaction styling on the generated FilePond drop area.
Beta Was this translation helpful? Give feedback.
All reactions