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
{{ message }}
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.
I used to have select2+jquery in my website, but I've decided to switch to angular.
This used to be my code:
var option = new Option("id", "text"); $("select").append(option);
But now I have no idea how to add an option to select2 manually.
Can you give me a solution?
Thanks
The text was updated successfully, but these errors were encountered: