Comments (5)
My recent changes to the documentation were incorrect. I've modified them to be more accurate in ac76a14 for the save() method: it takes in an array of files to save.
from file-picker.
OK I see. So we put the file array in both the constructor options, and the save options?
If I don't include the files list in the constructor call, I get a "No files to save" console.log on explorer.save(<files array>)
, and it fails to open.
so this code works. It's intended that the files array is duplicated?
Kloudless.explorer({
...
files: <files array>
}).save(<files array>);
from file-picker.
This looks like a bug with our race condition handling. We'll get a fix for this released to production by tonight. The files option in the constructor should not be necessary, but since the save()
call is performed prior to the File Explorer being completely loaded, the timeout that eventually calls it does not appear to pass in the correct options.
To get it to work for now, feel free to continue using the format above. However, once the fix is released, you'll only need the files object in one (either the constructor or the save()
method). Apologies for the inconvenience here.
from file-picker.
Good to know. Thanks!
from file-picker.
The fixes have been released.
from file-picker.
Related Issues (20)
- CASHOUT
- React Chooser onDeleteAccount event does not return accountId as specified in the docs HOT 3
- How to see 'connected accounts' ? HOT 1
- Is persistent file access supported? HOT 1
- Do/will you support "Save" instead of "Save as..."? HOT 9
- Can I save a file using a base-64-encoded data URL? HOT 3
- Chrome console showing an error 404 HOT 5
- bearer_token is never set, APIKey works HOT 1
- Breadcrumbs are not aligned when width is constrained in Safari HOT 1
- Explorer default to My Computer HOT 3
- Storj.io gateway integration HOT 3
- Cancel cancel causes upload HOT 2
- Not receiving bearer_token from file chooser HOT 2
- jquery.ui.plupload.js contains an unprintable character HOT 2
- console logging HOT 4
- TypeScript type definitions HOT 1
- Uncaught type error after adding files for upload HOT 3
- Using `multiselect: false` still shows multiple file selection dialog HOT 3
- Cancel button transmogrified following upload in Safari HOT 2
- Dropzone allows dropping wrong file types HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from file-picker.