Hi all,
I'm trying to dynamically add optgroup and options to a Select2: the option is added, but not the optgroup (see http://jsbin.com/lirahekeru/1/edit?html,js,output).
Am I doing something wrong?
Thanks,
Fred
Community moderators have prevented the ability to post new answers.
Hi Frédéric,
Options should be added to the group. Please see the jsbin: http://jsbin.com/nagohevoyi/1/edit
Thanks a lot Volodymyr, Fred
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.