133 questions
0
votes
2
answers
1k
views
Select2 : Works only in one select option but not in two or more select options
I am using Select2 for my select options. It works when I add the
js-example-basic-single class to a select option but it seems like whenever I add the same class to other select boxes in the same ...
0
votes
0
answers
152
views
AngularJS select2
Good day. I am trying to create a select2 in angularJS. I have search and found this code but upon using it and put it in my code I got this error element.select2 is not a function. I've used it(...
0
votes
1
answer
2k
views
Angular ng-select2 search on open
i want that the user directly can search when ng-select2 opens.
this time the user opens the ng-select2 and needs to click into the searchfield with the mouse and can search - but the search field ...
0
votes
1
answer
306
views
How to load model on the fly angularjs Select combo box
At the moment I have a combo box. In my appservice, I query my database and grab top ten.
<select id="StationSelectionCombobox"
name="Country"
ng-options="s.amenityUID as s....
1
vote
2
answers
3k
views
Set selected value in Select2 using angularjs
I have a Drop down in my Anjularjs Application implemented using 'ui.select2'
I had initialized it as below
<input type="text" ng-model="objCas.iProjectId" id=" iprojectid" ui-select2="...
0
votes
1
answer
219
views
Dropdown list both left and right align
I am using select2 plugin for dropdown list on angularjs application. I want to show text both left and right.
<select ng-model="selEmployee" id='selUser' name="selEmp" ng-disabled="currentmode ==...
1
vote
0
answers
390
views
select2 using angularJs default multi select with dynamic tags error
I was searched as much I can but I did not get a solution for this.
I using select2 with multi-select and dynamic tags, but on load, I want to load some default values, but it only displays the first ...
1
vote
0
answers
38
views
Not able to display/assign value in select2 dropdown
I am loading the data in select2 dropdown on page load. On the UI I can see the dropdown being populated but when I clear the dropdown value and reload the value again, it is not getting populated, ...
0
votes
1
answer
1k
views
filling a Select2 select box with an array populated by an ajax query
I'd like to use Select2 for a select box, populated by an ajay query to an api with a single call to the api. There is no need to query the api again after every keystroke.
I tried to implement it ...
1
vote
0
answers
463
views
select2 multiple ajax calls
I'm trying to call 2 REST APIs and then populate the select2 dropdown.
My select2 code works fine for 1 API call but doesn't if I try to call the 2 API in AJAX results.
The way I'm trying to call the ...
1
vote
0
answers
74
views
How to handle 401 error in angularjs select2?
I did use an http interceptor to handle 401 response status like following
var expiredSessionInterceptor = function ($q,$window) {
return {
request: function (config) {
return ...
0
votes
0
answers
83
views
initialize empty value or disable it in select2 in angularjs on page load
So, i'm dealing with angularjs 1 and select2-ui. I have this div.
<div>
<label class="control-label" translate>Abundance</label>
<select ui-select2 ng-model="thisid" class="...
0
votes
1
answer
1k
views
select2.js is not working in ngRepeat AngularJS
I am using AngularJS 1.2.12, select2.js.
I have users table where each user has some countries, for this countries i am using select2. but it is not working and it is rendered as normal text box.
...
0
votes
0
answers
339
views
Select2 performance Issue
I am using AngularJS and Select2 to display 80000 data in single select dropdown , but its taking lot of time around 2 min to display. How can I improve the performance of Select2?
2
votes
1
answer
3k
views
Use AJAX in ng2-select2
I have many drop-downs in my angular2js project. I am using ng2-select2 for these drop-down. In some dropdown, I need to filter and fetch data from an API as per the string user types into the select2 ...