© 2026 Hedgehog Software, LLC

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

Re-render FileUpload Component

I have a scenario where I have a select component with a few options, when a user selects an option from the select component I'm conditionally showing and updating the FileUpload component. IE. to use the circleCropper or not, dimensions of the image being cropped etc. However, when I change my selection I have no way of rerendering the FileUpload component in order for it to render with the updated dimensions, etc. from the selection they chose.

Is there a way to re-render a component or update its state?
Solution
the only idea i have is something like
->extraFieldWrapperAttributes(fn ($get) => ['wire:key' => $get('shop_product_id') . '-file-upload'])
->extraFieldWrapperAttributes(fn ($get) => ['wire:key' => $get('shop_product_id') . '-file-upload'])
Jump to solution
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

filepond fileupload component
FilamentFFilament / ❓┊help
2y ago
Translating FileUpload component
FilamentFFilament / ❓┊help
2y ago
FileUpload in Livewire Component
FilamentFFilament / ❓┊help
2y ago
Fileupload does not render file
FilamentFFilament / ❓┊help
4w ago