Alex Chernenko
Alex Chernenko
@TwunTee I'm sorry for such a long delay with the reply. Technically, there's no way to update widget's crop settings on the run. However, if you define a specific aspect...
You can use the `onFileSelect` method instead. It provides a group instance from which you can extract individual file URLs. ```js const Example = () => { return ( {...
Hi @disaerna, you can simply run `npm update uploadcare-widget` in your project. As a result, the `uploadcare-widget` package will be updated to the latest version, and you'll be able to...
Hi @NafisRubio, here's a live demo of the above solution suggested by @nd0ut. Check it out https://codesandbox.io/s/funny-snow-6lcrv9?file=/src/index.js
@aquaductape yes, `anyDoneList` will do the trick. You can also use the `onAdd` and `onRemove` to handle add/remove events separately ```js onDialogOpen={(dialog) => { dialog.fileColl.onAdd.add((file) => { console.log("File added: ",...
Hi @thongly, thanks for the suggestion! Using the Dialog API, you can get an array of file objects from the widget and then get information about each object. Here's how...
Hi @jonnigs , you can handle upload errors this way: ```jsx { dialog.fileColl.onAdd.add((file) => { file.fail((errorType, fileInfo, error) => { console.error(errorType, error); }); }); }} /> ``` This will work...