Hi All,
I was trying to build a custom file input that selects files using the HTML input element and upload the files using FormData in Rescript.
I was checking this below mentioned documentation as reference-
https://github.com/TheSpyder/rescript-webapi/blob/651d52f50cb6e80a48ba35b957da8cea74633b9d/src/Webapi/Webapi__FormData.res
Please look at the code under the attached link of rescript playground to look onto the code I have written-
This code gives me no entries for FormData while consoling the formData variable.
I am unable to implement this. Can anyone help me with proper example.
Thanks in advance!!