YPImagePicker icon indicating copy to clipboard operation
YPImagePicker copied to clipboard

How to disable multiple selection if video item is being selected?

Open M-I-N opened this issue 4 years ago • 2 comments

I'm in a state where multiple images can be picked but not multiple videos. This also means, in the multiple selection mode, if any video item is selected the multiple selection needs to be switched to single mode selection.

I'm already using config.library.maxNumberOfItems = 5 to be able to pick multiple media items. But I can't find a way to accomplish the scenario described above.

M-I-N avatar May 10 '20 18:05 M-I-N

@M-I-N hello!) Sorry, don't have time for this now. Can you fix it and create a PR by yourself?

NikKovIos avatar May 11 '20 12:05 NikKovIos

@M-I-N extremely busy as well at the moment, this looks like a valid use case though. If you can try and take a crack at it yourself, that'd be amazing.

s4cha avatar Aug 05 '20 12:08 s4cha