skratchdot / react-bootstrap-multiselect

A multiselect component for react (with bootstrap). This is a react port of bootstrap-multiselect.
http://projects.skratchdot.com/react-bootstrap-multiselect/
Other
119 stars 62 forks source link

Options seem to not be working #88

Open Greg-Freeman opened 5 years ago

Greg-Freeman commented 5 years ago

I am trying to use the enableCollapsibleOptGroups property. When I use it, nothing in my list renders. Am I using this property correctly and is it expected to work? I've tried other properties too and they seem to do the same thing -- I just end up with an empty list. As soon as I remove the property, the dropdown is populated.

<Multiselect ref="myRef" data={this.state.groups} enableCollapsibleOptGroups multiple />

p-v-a commented 5 years ago

it's an issue in the library here is how ul tag is rendered without options: image and here is how ul is rendered with any option provided: image So it's sending ul element twice for some reason.

jibaromar commented 3 years ago

it's an issue in the library here is how ul tag is rendered without options: image and here is how ul is rendered with any option provided: image So it's sending ul element twice for some reason.

Did u manage to solve the problem by any chance?