Hi, I´ve built a file upload component that I want to use on multiple pages. But how do I access the file now that it is "in" a component? I´ve tried to set up event which gets triggered on input but that doesn´t seem to make sense in my case.
Thank you for your help Lucas. I´ve set it up just like you and I can access the file within the component but not "outside" of the component (when the component is embedded in a page). I´ve also read the thread now but I wasn´t able to solve my issue.
The data it needs to pass back needs to be the file variable
Or just use the same event.target -> get files formula
Right now it's sending back event.target.value which won't work
needtheanswers
1 year ago
It´s still not working, guess I´ll just give up on creating a file upload component and create new file uploader where necessary. Thanks for your help 🙏