Tim Lavers
12/30/2022, 9:47 PMformData.append("file", fileupload.files[0]);
The problem I have is that the equivalent FormData class in KotlinJS can have a org.w3c.files.Blob attached to it, of which org.w3c.files.File is a subclass, however, the selection event returns a web.file.File object.
How can I turn the web.file.File into an org.w3c.files.File so that I can attach it and post it?
ThanksMike Dawson
01/01/2023, 7:54 PMCLOVIS
01/03/2023, 2:50 PM