Questions tagged [ui-select]

AngularJS-native version of Select2 and Selectize by the AngularUI Team

UI Select

A native AngularJS implementation of Select2/Selectize by the AngularUI Team

Basically a set of libraries that help develop select, multiselect and checkbox element.

Main Features

  • Search, Select, and Multi-select
  • Themes: Bootstrap, Select2 and Selectize
  • Keyboard support
  • jQuery not required (except for old browsers)
  • Small code base: 4.57KB min/gzipped vs 20KB for select2

Resources

382 questions
0
votes
0 answers

Duplicates error after asynchronous data refresh in multiselect

I'm using angular-formly with multiple ui-select and when my data loads in the multiselect, the list I'm selecting from adds in items (duplicates) that were already preselected. Using select.refreshItems() didn't help either. I don't understand the…
0
votes
1 answer

Not able to fetch the dropdown data on selecting angular ui-select

I need to fetch the current users list on selecting the ui-select. So, I have implemented it using the ng-focus and it is working in older version(0.8.3) of ui-select. But with the latest version of ui-select, it is not working. It is always showing…
SaiGiridhar
  • 886
  • 1
  • 13
  • 28
0
votes
2 answers

Disable form submit on multiple ui-select for Angularjs

When using the multiple version of UI-Select for AngularJS the form is submitted once a user presses enter. Many users start typing a tag and press enter to select it and search for a new one. But once the users presses enter the form is submitted.…
Kevin Cloet
  • 2,956
  • 1
  • 19
  • 36
0
votes
2 answers

Angular ui-select, ignore empty item in choices

Say I have such an array. $scope.countries = [ {name: 'a'}, {name: 'b'}, {notName:'xx'} ]; I want to use angular ui-select to form a dropdown select. Since the third object doesn't contain 'name', it should not be shown. plunker:…
0
votes
0 answers

angular-ui/ui-select inside a custom directive

I am using angular-ui/ui-select inside a custom angular directive, when I first load the page, or do a full browser refresh, the dropdown menu does not appear when I click the dropdown arrow, however, if I navigate to another state (yes I'm using…
0
votes
2 answers

How to make the ui-select more bootstrap?

I'm using ui-select select-boxes and regular bootstrap select-boxes side by side, and I want them to look exactly the same. More precisely, I want the ui-select boxes to look like the bootstrap ones. I noticed a few differences: The shape of the…
Ella Sharakanski
  • 2,683
  • 3
  • 27
  • 47
0
votes
1 answer

Element[0].focus not working with angular ui-select

I am using angular implementation of ui-select. It works fine but element[0].focus() does not work with it. To explain it further, I have following directive to set focus on ui-select var focusIf = function ($timeout, $parse) { return { …
Muhammad Adeel Zahid
  • 17,474
  • 14
  • 90
  • 155
0
votes
1 answer

How can I use angular ui-select' selected item with VALUE and TEXT

I have a list of countries which were loaded into angular ui-select Detail of code is as below %ui-select{'ng-model' => 'item.country', 'append-to-body' => 'true', 'search-enable' => 'true', 'them' => 'bootstrap'} …
huynhthinh
  • 61
  • 1
  • 1
  • 9
0
votes
2 answers
0
votes
1 answer

How to watch nb-Model at child?

I am using ui-select inside a controller, I need to listen for changes for the ng-model from the controller, here is my HTML:
Samir Sabri
  • 937
  • 3
  • 11
  • 26
0
votes
1 answer

How can i reuse the selected item outside the ui-select?

i am using the ui-select and would like to use the selected item outside the ui-select control. I tried using {{$select.selected.name}} but this did not work. I want to reuse it in an ng-repeats filter.
STORM
  • 4,005
  • 11
  • 49
  • 98
0
votes
2 answers

UISelect multiple , apply CSS to one of the selected items

Im trying to find ways to apply custom CSS to only one of the selected items in UISelect Multiple.
Sunil Vurity
  • 830
  • 9
  • 14
0
votes
4 answers

how to block free text entering in angular ui-select

Lib link : https://github.com/angular-ui/ui-select Is there any way to Block the user edit in multiSelect ? I want to allow user to only clear the previously selected data , But how to block him from entering any free text in the…
praveenpds
  • 2,936
  • 5
  • 26
  • 43
0
votes
0 answers

UI-select Focus remains

I am using ui-select (Version: 0.8.3, angularjs) library in order to display a drop down list. I have a situation when i click on a text area there is JavaScript that changes the height of the div to a larger height so it can be scrolled up. the…
user2587554
  • 11
  • 1
  • 4
0
votes
1 answer

UISelect Default choice/option

I have to have a default option/choice (like 'Click to do something') in the Uiselect to which i bind data pushed from service and has refresh ( when user types something data is fetched from service based on user input. My Current UISelect…
Sunil Vurity
  • 830
  • 9
  • 14
1 2 3
25
26