Questions tagged [ui-select2]

An AngularJS wrapper for select2, different from jquery-select2

AngularJS wrapper for select2 (deprecated)

Instead, use angular-ui/ui-select

An AngularJS wrapper for Select2 by the AngularUI Team.

Use the tag if you are not referring to the AngularJS version.

Useful links

194 questions
3
votes
1 answer

Protractor how to test select2

I have a select2 drop-down where you need to first enter 2 characters and then select your item. I am unable to test this with Protractor. var select2 =…
Rory G
  • 173
  • 1
  • 11
3
votes
1 answer

Improve TinyMCE performance in Angular app

I've set up tinyMCE in my angular application by using the latest (4.x) version of tinyMCe and the latest version of angular-ui/ui-tinymce (https://github.com/angular-ui/ui-tinymce). All of the code is minified. In my application I have multiple…
Mike
  • 1,003
  • 1
  • 11
  • 23
3
votes
2 answers

Does angular ui select (bootstrap version) support optgroup?

Does anyone know if Angular-Ui-Select Bootstrap version support an optgroup? Can't seem to find any documentation for that on https://github.com/angular-ui/ui-select? Here is their example: plnkr.co/edit/QCwSM75ilH2Vh6D9aMA4?p=preview How to add an…
user1906437
  • 233
  • 2
  • 6
  • 12
3
votes
1 answer

Send data to controller on ui.select angular

i'm trying to select a value from dropdown list and get the data from corresponded select id in angularJs i have came up with angular-ui/ui-select directives
Gayan
  • 2,750
  • 5
  • 47
  • 88
3
votes
1 answer

Preselecting option with angular-ui-select2 0.0.5

I'm having trouble preselecting an option in an select2 select box using Angular and an ng-model. Here's my code: Angular code in controller $scope.filter = { searchValue: '', departmentId: 'Department2' } HTML
2
votes
1 answer

Ui-select ng-model is not binded with selected

I am trying to do a simple drop down menu with a search in it. I cant get the ng-model to be changed on this drop down. this is what I have done, and as you can see its very simple (mostly copy paste from the get started) I couldnt find any info…
Yogi_Bear
  • 512
  • 2
  • 10
  • 24
2
votes
1 answer

formatSelection not working in select2.js

I am using select2.js to populate the field with multiple values using ajax call. Below is the code that I am using. HTML Script