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

SPSetMultiSelectSizes not working with mixWidth and maxWidth.

Jun 8, 2015 at 7:35 PM
I began using SPSetMultiSelectSizes without the minWidth and maxWidth so it would size it to the largest option, but now I want to limit the size of the select boxes. In the code below I've tried to set a min/max limit of 150px - 215px, but when I check the select boxes with the DOM Explore they're still 259 px (size of the largest option). Am I using SPSetMultiSelectSizes wrong, how do I resolve this?

Version Info:
jQuery version: 2.1.3
SPServices version: 2014.02
SharePoint Online

Current Code:
            multiSelectColumn: "Room List",
            minWidth: 150,
            maxWidth: 215,
        // code below works
            relationshipList: "{GUID}",
            relationshipListParentColumn: "ReservationLocation",
            relationshipListChildColumn: "Title",
            relationshipListSortColumn: "ID",
            parentColumn: "Reservation Location",
            childColumn: "Room List",

Jun 8, 2015 at 7:45 PM
Edited Jun 8, 2015 at 7:45 PM
You've got some trailing commas which may be throwing an error above. Make sure the last option doesn't have an trailing comma. That might be the issue.

Jun 8, 2015 at 8:11 PM
I have removed trailing commas and it's still sizing as if minWidth and maxWidth aren't their.