Open Praveen-Nat opened 4 years ago
I'm seeing a similar issue. Clicking the button assigned to the assignBrowse
function does nothing.
--edit--
I resolved my issue. In my case, I was using this library in svelte, and was using svelte's component binding to get the reference to the
Assigned this to a span tag with id 'test' js: var flow = new Flow({ target: '/ftp/upload/', testChunks: false, permanentErrors: [404, 500, 501], maxChunkRetries: 3, chunkRetryInterval: 5000, simultaneousUploads: 1, chunkSize: 20000000, });
console.log(flow);
flow.assignBrowse(document.getElementById('test'), true, true, {"accept": ".csv,.xls,.xlsx"});
this dosn't open the file explorer