I want to send a file with some meta data to server. I am using oj-file-picker. How can I get the file object from this.
<oj-file-picker id="local_file" accept='[".cfg"]' selection-mode="single" on-oj-select='[[onFileSelected]]' style="max-width:10em"> </oj-file-picker>.
I wanted to use FormData object to send file. and formData need file object.
Can anyone help on this ?