U4-4282 - U7 Feature Request Media Picker Min and Max items setting

Created by Peter Gregory 23 Feb 2014, 06:55:29 Updated by Jan Skovgaard 15 Jul 2018, 12:36:59

Tags: 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.

Comments

Jeroen Breuer 24 Feb 2014, 08:40:55

I also suggested that in this feature request: http://issues.umbraco.org/issue/U4-3713


Shannon Deminick 21 Jun 2017, 07:59:55

Closing issue due to inactivity - see blog post for details https://umbraco.com/blog/issue-tracker-cleanup/


Jeroen Breuer 21 Jun 2017, 08:41:35

Reopening this issue since it's still a nice feature request.


Shannon Deminick 26 Feb 2018, 01:47:49

PR: https://github.com/umbraco/Umbraco-CMS/pull/2466


Stephan 08 Mar 2018, 12:41:16

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 minNumber and 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


Shannon Deminick 13 Mar 2018, 02:56:31

Have marked as awaiting feedback and sent this info, along with more comments to the contributor


Mario 28 Mar 2018, 00:15:12

I have created a new multiitem prevalue editor and modified the mediapicker to work with it.


Shannon Deminick 28 Mar 2018, 00:21:24

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 :)


Mario 28 Mar 2018, 00:23:48

Cool, I wasn't sure if just committing raised any notices:)


Priority: Normal

Type: Feature (request)

State: Open

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.0.4

Due in version:

Sprint: Sprint 80

Story Points: 1

Cycle: 10