You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your efforts on this library~That's so cool.
However,I met a problem when I used the 'addOption'.
Case1 list.forEach(function (element, index) { $("#my-select").append("<option value='"+index+"'>"+element+"</option>"); }); $('#my-select').selectMultiple();
Case2 $('#my-select').selectMultiple('addOption',{value:"elem_"+index,text:element});
Case1 worked but item couldn't be clicked in Case2(no pointer, no √)
The text was updated successfully, but these errors were encountered:
Thank you for your efforts on this library~That's so cool.
However,I met a problem when I used the 'addOption'.
Case1
list.forEach(function (element, index) { $("#my-select").append("<option value='"+index+"'>"+element+"</option>"); }); $('#my-select').selectMultiple();
Case2
$('#my-select').selectMultiple('addOption',{value:"elem_"+index,text:element});
Case1 worked but item couldn't be clicked in Case2(no pointer, no √)
The text was updated successfully, but these errors were encountered: