davidstutz / bootstrap-multiselect

JQuery multiselect plugin based on Twitter Bootstrap.
https://davidstutz.github.io/bootstrap-multiselect/
Other
3.67k stars 1.98k forks source link

multiSelect in an html table #997

Open YairHadari opened 6 years ago

YairHadari commented 6 years ago

Hi,

I have a dynamic table that include a cell with a dynamic dropdown element. The dropdown is multiSelect. The problem is that only the first row is using the plugin and in the rest of the rows the dropdown is open.

Please assist, Yair

joseluislandivars commented 3 years ago

Only the first row uses the plugin because the select element does not allow duplicated id's. You have to change it to a class and it will work for every row. Please see https://stackoverflow.com/questions/65110551/bootstrap-multiselect-working-only-for-first-row