vutoan266 / react-images-uploading

The simple images uploader applied Render Props pattern that allows you to fully control UI component and behaviors.
https://github.com/vutoan266/react-images-uploading
MIT License
320 stars 52 forks source link

Feature request: Return resolution in errors object #144

Open joepardi opened 1 year ago

joepardi commented 1 year ago

When uploading multiple files, it's possible that one of the files does not pass the resolution check. When this occurs, it's not possible to determine which file failed the check in the callback function for onError.

This feature request is to add the resolution attributes to the files array passed back to the onError callback.