We have moved to GitHub Issues
Created by Peter Gregory 23 Feb 2014, 06:55:29 Updated by Jan Skovgaard 15 Jul 2018, 12:36:59Tags: Up For Grabs PR Community Contrib Awaiting feedback Consider for sprint
Relates to: U4-11058
Subtask of: U4-11011
Media picker should allow the ability to set the min and max number of items that can be selected if the the "Select multiple items" checkbox is checked.
I also suggested that in this feature request: http://issues.umbraco.org/issue/U4-3713
Closing issue due to inactivity - see blog post for details https://umbraco.com/blog/issue-tracker-cleanup/
Reopening this issue since it's still a nice feature request.
Looks good, Angular-wise. Yes, the preValues are not validated, let's assume it's OK for now.
What I don't understand is the upgrade path: the property editor replaces the
multiPicker preValue with
maxNumber preValues, which will both (on upgrade) be un-initialized, and then how is the controller going to figure out whether it deals with a multi-picker or a simple picker?
It ''looks'' like,
maxNumber being undefined, it will always treat the picker as a single picker?
Re-opening issue => @Shandem
Have marked as awaiting feedback and sent this info, along with more comments to the contributor
I have created a new multiitem prevalue editor and modified the mediapicker to work with it.
Hi! Yup i've got the PR starred in my inbox, just need to find some time to review and pull in, at a glance, it looks wonderful! I'll try to get to this asap :)
Cool, I wasn't sure if just committing raised any notices:)
Type: Feature (request)
Backwards Compatible: True
Fix Submitted: Pull request
Affected versions: 7.0.4
Due in version:
Sprint: Sprint 80
Story Points: 1