Select2 / UI-Select https://select2.github.io

Select2 gives you a customizable select box with support for searching, tagging, remote data sets, infinite scrolling, and many other highly used options.

Base

Multiple

Colors

Disabled

Success

Warning

Error

Sizes





Usage


require(['jquery', 'px-libs/select2.full'], function($) {
  ...
});
        

Usage

To use ui-select plugin, you need to include the next scripts:


<script src="path/to/js/libs/select.js"></script>
        

Then inject the plugin into your angular application:

angular.module('yourApp', ['ui.select']);

Alternatively, you can include ui-select plugin using ocLazyLoad plugin:


$ocLazyLoad.load([
  {
    name: 'ui.select',
    files: [
      'path/to/js/libs/select.js',
    ],
  },
]);
        

Example

No results found.
{{$item.title}} No results found.
{{$item.title}} No results found.
{{$item.title}} No results found.