We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
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