filestack / filestack-react

Official React component for Filestack - API and content management system that makes it easy to add powerful file uploading and transformation capabilities to any web or mobile application.
https://www.filestack.com
MIT License
164 stars 40 forks source link

Multiple Image selection #84

Closed Harshit5295 closed 4 years ago

Harshit5295 commented 4 years ago

const options = { accept: "image/*", maxFiles: 10, storeTo: { ocation: "s3" } };

In the above I have mentioned maxFiles : 10 Still it is not allowing me to pick more than one image.

Here is my Modal Config: <ReactFilestack apikey={"MY_API_KEY"} buttonText="Change" buttonClass="change_image" mode="pick" options={options} onSuccess={this.updateImage} />

carmouche commented 4 years ago

Hi there! I was able to get mine working by passing my picker options to the actionOptions prop

const options = {
       displayMode: 'inline',
       container: 'embedded',
       maxFiles: 100
}

<ReactFilestack
      actionOptions={options}
/>