Paulsonps / dropdown-check-list

Automatically exported from code.google.com/p/dropdown-check-list
0 stars 0 forks source link

'firstItemChecksAll' de-selects some elements in Chrome #193

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
** What steps will reproduce the problem?
1. Create a select with all options selected except the first one.
2. Then call $("#mySelect").dropdownchecklist( { firstItemChecksAll: true } );
3. Open up the page in Google Chrome.

** What is the expected output? What do you see instead?
I would expect the first item to be selected as well as the other ones.

Instead, only the second item is selected and the other ones are de-selected.

After some investigation, it seems that the following line in 
ui.dropdownchecklist.js is causing the problem:
line 781 : sourceSelect.prop("multiple", true);

** What is your environment?
-- DropDownCheckList version: 1.4
-- jQuery version: 1.6.1
-- jQuery UI version: 1.8.13
-- Browser and version: Chromium 12

** Please provide any additional information below/Please attach sample
html

Original issue reported on code.google.com by dogan.na...@gmail.com on 3 Jul 2011 at 6:02

GoogleCodeExporter commented 8 years ago
Already reported, with a fix posted in issue 176

Original comment by womohun...@ittrium.com on 5 Jul 2011 at 2:20