I stumbled across this while trying to selectively change the width of one particular multiselect field (while leaving the others alone).

Changing the width of select.multiselect_unsel and select.multiselect_sel works great but leaves the labels (#label_unselected and #label_selected) aligned incorrectly. In navigating up the the tree to grab an id selector on the form-item div, I noticed the typical cck field id is no longer present on multiselect fields. i think this is probably an oversite. I'm trying to grok the code to submit a patch now, but haven't quite figured it out yet.

Also, I just noticed there are several non-unique css ids in multiselect fields-- the above #label_unselected and #label_selected ids are the same for each field and therefore not unique. The same is true for #multiselect_labels and #multiselect_available. afaik, ids must be unique per page.

CommentFileSizeAuthor
#1 multiselect_field-ids_1055346.patch957 bytesWorldFallz

Comments

WorldFallz’s picture

Status: Active » Needs review
StatusFileSize
new957 bytes

ok i fixed the first problem-- lack of field ids. Here's a patch for that one thing. Others to follow.

mparker17’s picture

Issue summary: View changes
Status: Needs review » Postponed (maintainer needs more info)

multiselect-6.x-1.7 is no longer supported, because Drupal 6 is no longer supported.

Can you confirm if this is still an issue in multiselect-2.0.0-beta4?

I'm going to mark this issue as "Postponed (maintainer needs more info)"... but when you answer, please change it back to "Active". If I don't hear anything back in 6 months, then I will mark this issue as "Closed (outdated)". Thank you in advance for your understanding and patience as I try to keep this module's issue queue clear.