Questions tagged [angular-ui-select]

AngularJS-native version of Select2 and Selectize

AngularJS-native version of Select2 and Selectize.

GitHub: https://github.com/angular-ui/ui-select

169 questions
4
votes
3 answers

angularjs ui-select-choices dropdown aphabetical order depending on the input given

I'm using https://github.com/angular-ui/ui-select for the website I'm working on. Currently the code is as follows: {{$item.Name}} …
Swap
  • 189
  • 1
  • 1
  • 13
4
votes
2 answers

Angular ui-select options showing behind the modal when used with Bootstrap modal

I am facing issue with Angular ui-select (replacement for HTML select). I have added the option append-to-body so that it can be shown on top of other elements. But I am facing an issue that when it is used on top of bootstrap modal, it does not…
4
votes
2 answers

How to customize group label in Angular UI-Select

In Angular ui-select (GitHub Link), how can I customize group label? As shown in the image, the list is grouped by country, how can I customize the group label so to make it larger then the selection items? Plunker Example
Tony
  • 1,405
  • 3
  • 20
  • 31
4
votes
2 answers

Using ui-tagging with single choice

i'm a newbie on angularjs and angular-ui and i have a problem with module ui-select. I need to select single element from a list and if there isn't a value, the user can add manually, but the tagging system of ui-select doen't work for a single…
MTS
  • 199
  • 11
4
votes
1 answer

AngularJS - How to clear query text in input of ui-select multiple options

I am using ui-select(version - 0.11.2), my HTML code follows: {{$item.name}}
user4870812
4
votes
1 answer

Angular Directive with ui-select and transclude

I have a project where we are using a lot of angular ui-select directives. The usage of the ui-select is standardized and the only difference between the various points we use it is the ui-select-choice template and the service used to fetch the…
DanielC
  • 271
  • 4
  • 8
4
votes
2 answers

Angular-ui-select parent and child grouping

I have an array full of parent objects, and nested in each parent object I have an array with child objects. Without rebuilding my model I'm struggling to find the best way to use angular-ui-select to achieve a dropdown select box with grouping…
That1guyoverthr
  • 1,113
  • 2
  • 12
  • 19
3
votes
1 answer

Angular ui-select needs clicking twice to enter the input

Am fairly new to angular and I have an ui-select which fetches the data from remote service upon typing anything shows the related items in dropdown. It is a single select dropdown. The problem is the input field requires two clicks to open. On…
Prad2791
  • 31
  • 3
3
votes
0 answers

Angularjs and UI-Select: how to access $select from a component

How can we access to angular ui-select's $select from angular component? The sample given on the documentation deals with directive, but I am not using directives I am using components. I have tried to require uiSelect in the component with this…
Moussa
  • 4,066
  • 7
  • 32
  • 49
3
votes
2 answers

angularjs app not showing special characters in placeholder text in ui-select field

I have a multilingual angular app, and one of the languages has special characters, umlaut, for example. They are being shown fine on the labels, titles, headings, but not in placeholder text. here is the code i have :
SMH_TBZ
  • 103
  • 1
  • 15
3
votes
1 answer

Make angular material select behave like angular ui select

I want to make angular material select work like my angular ui select. I got some of it working but there is one difference: angular ui select can have a object that it's not in his list in his ng-model. Fiddle for better understanding
Gustavo Gabriel
  • 1,378
  • 2
  • 17
  • 28
3
votes
2 answers

How to pass a callback to Angular directive that extends an existing directive?

I am using Angular ui-select to create a "search-and-select component". When the user types into the search field, it immediately filters a list of items as a free-text filter. Additionally, the user can select options from the dropdown, which are…
Sampo
  • 4,308
  • 6
  • 35
  • 51
3
votes
3 answers

Angular ui.select not binding to ng-model

I'm using angular ui.select and i'm having trouble with binding the selected value to a model. I am trying to set a variable of an object using ui.select ng-model="data". But for some reason it will not selected value will not bind to the model.…
Jack
  • 309
  • 5
  • 18
3
votes
1 answer

Using title attribute in ui-select

I have a situation where the text to select is too long and doesn't fit in the list width or in the selected field. So at least I need to show on mouse hover the complete name using the title attribute in span. I tried this:
ps0604
  • 1,227
  • 23
  • 133
  • 330
3
votes
0 answers

Creating an angular wrapper component

I'm trying to create a wrapper component/directive for a angular-ui select. In my applications I have several declarations that amount to the same thing over and over again. So, trying to reuse some code I want to create a single directive…
Mike
  • 1,003
  • 1
  • 11
  • 23
1
2
3
11 12