Does select2 plugin supports angular 5 framework?


#1

HI,

I would like to know that does this plugin supports angular 5 framework.

Thanks in advance


#2

The Select2 code is framework-agnostic. It will work with Angular5, but it’s up to you to to “wire it in” to your application. You can do this in your page controller(s), or create one or more custom components. Since Select2 widgets have a large number of options, it will depend on how complicated your use of the Select2 widget is as to which method is better for your application. (For instance, if you have some Select2’s that just wrap otherwise static select elements, and other Select2s that use AJAX to retrieve remote data, you might want to create separate components for those two varieties of widgets).