Error on upload multiple files on livewire page component inside infolist.
Error on upload multiple files on livewire page component inside infolist.
9 Replies
Ok
i try upload multiple files but show me errors on console livewire and hide modal.
livewire show console error:
Uncaught TypeError: Cannot read properties of undefined (reading 'after')
hey man, I messed up when creating the post on discord, sorry
Looks like it's related to your custom import that's failing somewhere in your app.js
my app.js have no imports

When I upload only one file, it works, but when I add two or more files at once, the modal closes unexpectedly.
Look at the start of your video the import error in app.js
ok thanks, i look but error is other. when i try upload file.

You are uploading in a n action, try adding:
->fillForm([])
to the action to be safe