Filament Multiple File Upload

Hello all, I face a use case where I need to apply multiple files using filament and process the file send to api get a response and populate the data incoming to my repeater form which initially is hidden.

so I tried to inject afterStateUpdated on the fileupload and managed to get great outcome with one file.

https://gist.github.com/titusfrezer/ca5925fbf45f375a8eb985b920c7e0a3
  • here is the gist(the code snippet) I tackled to solve my issue with 1 file to be uploaded, so using kind of this technique how can I enable to get the state of my both uploaded files and then let my api process?
hank you.
Gist
GitHub Gist: instantly share code, notes, and snippets.
Was this page helpful?