Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
"Number of values:" field values wont be saved ever.
By default the value is "Unlimited" but when you try to change the value to any numeric like 1,2,3,4 - it just doesnt save the value.
Every time when you open configuration page for the field with type of "Multiselect" you see that the value is "Unlimited" again.
It doesnt work when you try to create a new content with such field either.
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #2
andreypaa CreditAttribution: andreypaa commentedI am have this bug to.
Comment #3
attheshow CreditAttribution: attheshow commentedIt needs to be validated using the "optionwidgets_validate" function within CCK, but for some reason I can't get that to work. So, for the moment, I've made a change that will eliminate options other than "Unlimited" from the widget configuration form. That will keep others from running into a user interface issue like this.
Comment #4
vood002 CreditAttribution: vood002 commentedI have the same problem...love multiselect, but can't use it without limiting user options. Subscribing.
Comment #5
landry CreditAttribution: landry commented@attheshow : the last change you made makes it weird.. because now, absolutely no option for the number of values is shown if say, you used another widget when creating the field and set it to a finite number of values, then change it back to use multiselect -> $final_options becomes an empty array. Maybe smth like
Might be better/clearer ?
Comment #6
grey_ CreditAttribution: grey_ commentedAlso subscribing. This is a showstopper for me.
Comment #7
jesss CreditAttribution: jesss commented+1 Module seems great, but I really need to be able to limit the number of items selected. I'm currently using it with Content Taxonomy if that makes a difference.
Comment #8
attheshow CreditAttribution: attheshow commentedShould be fixed in the dev version. Please test and report if the change works. If so, I'll get a 1.7 release out very soon!
Comment #9
attheshow CreditAttribution: attheshow commentedComment #10
jesss CreditAttribution: jesss commentedWorks for me!
Comment #12
vood002 CreditAttribution: vood002 commentedthank you for your hard work attheshow! The fix works great, this module is a dramatic UI improvement over standard multiselect boxes.
Comment #13
attheshow CreditAttribution: attheshow commentedYou're very welcome. Now if I can just get it successfully updated to Drupal 7. I think I'm about 90% of the way there. Follow that issue at #693030: Drupal 7 port.