jQuery-MultiSelect icon indicating copy to clipboard operation
jQuery-MultiSelect copied to clipboard

optgroups

Open huliohereria opened this issue 2 years ago • 1 comments

I load dynamically optgroups in same list with option, {options: "", label: ""},{value: "",name: "", checked: false},{value: "",name: "", checked: false},{options: "", label: ""},{value: "",name: "", checked: false},{value: "",name: "", checked: false}..., but after $('select[multiple]').multiselect( 'reset' ) only the first group in the list is drawn

huliohereria avatar Aug 11 '23 11:08 huliohereria

I looked at the code and realized where my mistake was. JS checks the existing groups, since I have all the groups without a label, then of course only one remains on the page. interestingly, this manifests itself after reset.

huliohereria avatar Aug 13 '23 12:08 huliohereria