DubFriend / jquery.repeater

Create a repeatable group of input elements
MIT License
389 stars 191 forks source link

How to initialize with setList() in select by value instead of text for select2 #95

Closed martinmurciego closed 5 years ago

martinmurciego commented 6 years ago

Greetings is a pretty useful plugin. Only that I would like to know how to initialize value in an element select. I find it important to set option in select controls for its value to assign the id retrieved from the database in a record edition where I show what is stored. In my case I use select2 and good use other plugins. It would be good something that allows you to customize the value setting for each control through a callback or something similar.