jquery-select2 Questions

2

Solved

I have the following code which should be getting data via AJAX using Select2 $('#Organisation').select2({ ajax: { url: AppURL + 'Organisations/Manage/SearchByName/', dataType: 'json', quietMi...
Indrawn asked 19/4, 2013 at 9:52

2

i have a razor-mvc web and a couple of select's on a form. I bind this selects with the select2 plugin in jquery like this: $('select.company_select, select.positions_select').select2(); And my ...
Levinson asked 17/4, 2013 at 17:40

1

Solved

I've used Select2 plugin for tag input. Here is the fiddle of my basic work. I need showing "used number" of each options/tags at dropdown box like this way: I've created a class for that number...
Kial asked 12/8, 2014 at 14:30

1

Solved

I have a select2 where the users can select tags from a list or add new tags. WHen the user insert a new tag, I record it on a database. The user can, from other screen edit this tag and associate ...
Bacteria asked 28/7, 2014 at 11:56

1

Solved

I'm having some trouble trying to do some custom validation with a select2 jQuery plugin I need to force user to select at least 2 items from the list. The select2 plugin has a property maximumSel...
Lamartine asked 13/5, 2014 at 15:12

4

Solved

I am doing tagging with select2 I have these requirements with select2: I need to search some tags using select2 ajax Also I need to use "tags" in select2 which Allows values that are not in the...
Lacreshalacrimal asked 9/1, 2013 at 6:50

1

Solved

When upgrading from Knockout.js 2.x to 3.x, I've noticed this not working: I have a screen where I have a <select> depending on an observable array of observables, and I wrap the <select&g...
Willettawillette asked 20/5, 2014 at 18:31

2

Solved

On page load, I'm trying to use initSelection to select ID 60 (specified value of the input field). I can't seem to get it to work properly. The PHP scripts work great and return the correct value...
Fauver asked 19/9, 2013 at 20:17

2

Solved

With the following html: <input type='hidden' id='cantseeme'> I'm having no trouble creating a Select2 control dynamically, and adding my options: // simplified example var select2_ary = ...
Avifauna asked 20/8, 2013 at 23:24

1

I'm trying to update select2 model programmatically and for the view to refresh but it doesn't seem to work. Here's a sample plunker forked from the Angular UI project: http://plnkr.co/edit/kQROgr...
Kirchhoff asked 3/4, 2013 at 0:59

2

Solved

I use the following snippet to add a new select2 tag remotely with ajax and I want to register or remove some records of my many to many table on new tag / remove tag event The Table looks like -...
Melina asked 25/4, 2014 at 13:54

1

I installed Jquery-steps plugin and select2 plugin. I put select2 box inside the Wizard form (jquery-steps) and it doesn't work. The list values are not exported in . Outside the wizard select2 wor...
Pampas asked 13/4, 2014 at 2:3

3

Solved

In my HTML I have this line: <input ng-change="privChanged()" ng-model="selectedPriv" ui-select2="privsSelect2options"></input> and the privsSelect2options function: $scope.privsS...
Moria asked 26/3, 2013 at 14:9

2

Solved

I'm using angular-ui's select2 for a fairly simple dropdown. It's backed by a static array of data sitting on my controller's scope. In my controller I have a function that gets called on ng-change...
Westland asked 8/7, 2013 at 20:37

2

Solved

My Question is when ever I bind my Select2 with Multiple with Knockout View Model. After selecting one of the options, the data is lost for the second time KnockOutCode $(window).load(function (...
Schoolman asked 15/1, 2014 at 7:6

3

Solved

I'm using Select2 with ajax. Everything works fine, when the user click on the item they want, I use the on(change) function as specified by the documentation for doing some stuff. $("#e6").on(...
Appearance asked 27/2, 2013 at 0:20

2

Solved

I've had a look at some other threads but nothing quite as specific. It's not really something that I would assume is hard but I'm not sure how about to do it. Currently I'm using Select2 for a ta...
Johannajohannah asked 23/2, 2014 at 12:53

2

Solved

I have a problem to set the method initSelection with an ajax call, I returns "undefined". I checked and the ajax call returns the correct result .. I donot understand the method how to set the cal...
Fatherinlaw asked 27/2, 2013 at 13:12

2

Solved

I am new to Select2 and am having trouble integrating AJAX. When I search, the results aren't being filtered based on the query. Here's how it looks: https://i.sstatic.net/Q8mjM.png - The right ch...
Doubs asked 5/3, 2013 at 19:29

1

Solved

When using a Select2 select box it glows blue when active and I would like to know what CSS is required to change that color?
Butterfield asked 27/1, 2014 at 14:26

2

When using the ui-select2 (https://github.com/angular-ui/ui-select2), the preselected option is not shown properly. I created a plunkr: http://plnkr.co/edit/Ek86jUciPo7rgBnbKdFc When the page is ...
Ectoparasite asked 4/6, 2013 at 8:45

1

Solved

I want the select2 element to lose the focus when the select2-close event is triggered, what I have tried so far was: .on("select2-close", function (e) { var $focused = $(':focus'); $focused.blu...
Somniloquy asked 16/1, 2014 at 8:53

2

I have an angular-ui select2 component on my page. It works fine when the user types something in (it uses ajax to load in the data). But the initSelection function never gets called. Here's the c...
Phytobiology asked 17/4, 2013 at 1:57

3

Solved

I am looking for an alternative to Select2 that basically provides the same functionality, but includes proper tests. The quest for the holy grail? The last unicorn?
Hula asked 21/3, 2013 at 10:17

3

Solved

Issue I just started using Select2 (http://ivaynberg.github.io/select2/) and I am trying to do a basic task. I have a select box that has, for example, 3 items in it. I want to be able to have th...
Perrault asked 20/9, 2013 at 12:31

© 2022 - 2024 — McMap. All rights reserved.