This project has moved. For the latest updates, please go here.
1

Closed

Multi-Select Dropdown Controls Don't Have Name Attributes

description

In SP2007 and 2010, I'm finding the different bits of multi-select dropdowns using selectors like this:
            // Find the important bits of the multi-select
            if(childSelect.Type === "M") {
                MultiLookupPickerdata = childSelect.Obj.closest("span").find("input[name$='MultiLookupPicker$data']");
                master = window[childSelect.Obj.closest("tr").find("button[id$='AddButton']").attr("id").replace(/AddButton/,'MultiLookupPicker_m')];
                currentSelection = childSelect.Obj.closest("span").find("select[ID$='SelectResult']");
            }

In SP2013, there is no name attribute, so these selectors are failing.

I'm taking this opportunity to move more of the selector logic into the DropdownCtl constructor.

This issue affects:
  • SPCascadeDropdowns
  • SPFilterDropdown
  • SPSetMultiSelectSizes
Closed Dec 28, 2013 at 6:49 PM by sympmarc
Released in 2013.02

comments

sympmarc wrote Dec 16, 2013 at 5:55 PM

Fixed in 2013.02BETA2