cmb2-attached-posts icon indicating copy to clipboard operation
cmb2-attached-posts copied to clipboard

Limit Selection Number

Open bitstarr opened this issue 7 years ago • 9 comments

Hi, this is a feature request. Please add an option to limit the number of attached items. In my case, i only want the user to select one item. Other cases could be a row of four.

Thanks.

bitstarr avatar Nov 23 '16 15:11 bitstarr

I like this idea.

jtsternberg avatar Mar 28 '17 14:03 jtsternberg

This would be very useful.

desrosj avatar May 08 '17 19:05 desrosj

This would be awesome.

sandrodz avatar Jun 06 '17 18:06 sandrodz

Me too. And, while you are at it (well, if), please store the id of the attached post as a simple number in the option meta, instead of an array of one element, thanks.

lucrus73 avatar Jul 29 '17 11:07 lucrus73

Just came here to see if this is possible :)

dariodev avatar Aug 31 '17 23:08 dariodev

This would be very handy.

OllieBrkr avatar Nov 01 '17 11:11 OllieBrkr

Any news on this?

remoblaser avatar Nov 03 '17 09:11 remoblaser

pretty please ^_^

sandrodz avatar Dec 17 '17 13:12 sandrodz

hi

I have created a PR for this. Please let me know if this is good to be merged! https://github.com/CMB2/cmb2-attached-posts/pull/52 Cheers

mclaurent avatar Mar 05 '18 17:03 mclaurent