YPImagePicker icon indicating copy to clipboard operation
YPImagePicker copied to clipboard

maxNumberOfItems per media type

Open lucaslupo opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. Currently, one can only set maxNumberOfItems for the entire library configuration. It would be great if we can apply such constraint per data type. In my use case I need to allow the user to select multiple photo BUT if the user selects a video they can only select one.

lucaslupo avatar Aug 11 '20 00:08 lucaslupo

+1

cclaflin89 avatar Sep 16 '20 17:09 cclaflin89

@lucaslupo This definitely sounds like a valid use-case. Dunno when we'd have time for this though (lots of issues atm). Would you be willing to take a crack at it through a PR ?

s4cha avatar Sep 24 '20 14:09 s4cha