miket-dev / multiselect

Pure js multiselect implementation
MIT License
38 stars 30 forks source link

Initial "selected" options #6

Closed markteunen65 closed 4 years ago

markteunen65 commented 4 years ago

The initial selected options are not checked (class=active) in the itemlist

<select id='testSelect1' multiple>
    <option value='1'>Item 1</option>
    <option value='2' selected>Item 2</option>
    <option value='3'>Item 3</option>
    <option value='4' selected>Item 4</option>
    <option value='5'>Item 5</option>
</select>
jjacksondotnet commented 4 years ago

same here. Having trouble pre-selecting values.

miket-dev commented 4 years ago

@markteunen65 @jjacksondotnet fixed, feel free to recreate the issue if it happens again