daikazu
FileUpload Component is reloading after the first upload
For those who stumble upon this thread, the problem I think is related to the same problem which causes actions to perform an additional query of the data when triggered. The solution I came up with was to just create my own custom view action and modal. Some solutions talk about reaching for things like
wire-elements/modal
but this can just as easily be done using FilamentPHPs built in modal views.
I first start by creating a custom view for my modal and added it to my Resource's section header action:
customer-message.blade.php
7 replies
FileUpload Component is reloading after the first upload
I did try filling the form and I still have the same results. I've tried this on both local and S3 disks. Here is a Gist of the entire resource class.
Line 764
is the is the file upload field. https://gist.github.com/daikazu/f37babd13eaaecbcd941d98c9c15a95e7 replies