Selectpicker not working with form repeater

jquery
#1

Hi,
I’m using the following plugn https://www.jqueryscript.net/form/jQuery-Plugin-For-Dynamic-Form-Field-Generator-DuplicateElement.html to duplicate some fields, but when I try to use selectpicker then I’m not bale to select any optioon from the duplicated dropdown menu, here is a codepen fiddle https://codepen.io/vince84vecchio/pen/ZdYQPO to show you what the problem is.

#2

Hi @vincekaribusana, if you’re initialising the bootstrap components programmatically you’ll have to do that again for each duplicated element (or use the data attribute API instead). Another thing to note is that IDs must be unique… one would assume that a plugin claiming to handle form element duplication would take care of this automatically, but their sample page has the same problem. :-|