jquery-select2 Questions
1
Solved
I use select2 3.5.2 and jquery validation 1.13.1 .I could add error class to select2 elements with using validation plugin "highlight" method but when I select a value I can't remove that error cla...
Feisty asked 29/4, 2015 at 14:42
2
Solved
As soon as I add tags to my jQuery select2 it breaks and reverts back to the normal HTML select box.
Here is my code (exactly like this example):
$(document).ready(function() {
$("#tags").selec...
Adduce asked 10/6, 2014 at 17:6
1
Solved
Using jquery-select2 (not ui-select) and angular, I'm trying to set the value to the ng-model.
I've tried using $watch and ng-change, but none seem to fire after selecting an item with select2.
U...
Realism asked 26/4, 2015 at 17:27
3
I want to use select2.js in combination with twitter bootstrap 3.
Everything works fine so far, except the fact, that the Drop-Down container has not the same width as the select container itself.
...
Inflight asked 1/2, 2014 at 11:37
1
Solved
I have a multivalue select, and I want to set the restriction on number of selected items using the select2 library.
Documentation says that I should set maximumSelectionSize during the object init...
Repeated asked 7/4, 2015 at 9:15
1
Solved
As and when I keep selecting multiple options in a select2 element, the text-area displaying the current selections keeps expanding, like the below:
I tried fix height of classes like select2-se...
Galvanotropism asked 30/3, 2015 at 11:38
2
I am using the select2 plugin to convert a multiple select html element to a more presentable format. Also I don't think my question is very much dependent on the plugin.
What the plugin does inte...
Codpiece asked 19/2, 2014 at 9:8
2
Solved
I have a select2 directive for a multiple select of countries with a custom query to grab the data:
// Directive
<input ng-model="filters.countries" ui-select2="filters.countryOptions"
data-pl...
Bragdon asked 20/2, 2013 at 16:48
1
Solved
I have been using Select2 4.0.0-rc.1 for a couple of weeks (using the ajax adapter) and I am trying to find a way to "push" data after it has been initialized.
Within the dropdown list, I have the...
Malacostracan asked 15/3, 2015 at 8:17
3
I'm using the following code to simply search and tag friends onto a textfield that I then pass to an Ajax Post. As you see from my image, I can only allow users to tag friends one after another. I...
Flump asked 22/12, 2013 at 19:1
1
Solved
I'm using jquery-select2 4.0.0 and I want to display a text containing an '&'.
This is the code of the option:
<option value="123">
123 - This & That
</option>
However, Sel...
Batchelder asked 10/3, 2015 at 14:35
1
Solved
I use to set the default value on load for a select (using Select2) with a code like this:
$('#soff_gar').select2({placeholder: "Scegli", initSelection: true }).select2("val","<?php echo $garan...
Adoration asked 21/2, 2015 at 17:59
2
Solved
I need to allow users select ONLY allowed tags in select.
Currently I have that:
$("input#id_txtcolor").select2({tags:["red", "green", "blue"]});
Can you help me please with that?
Nuclide asked 7/2, 2013 at 16:41
1
Solved
I have a table with four select2 dropdown lists.
When I clone the row to duplicate it, the dropdown lists of the new row are disabled, I can't click on them, what do I have to add in my code in ord...
Doorjamb asked 14/2, 2015 at 17:22
2
I'm using Select2 to enhance my <select> input. I populate the <options> with coldfusion and sql. I want to use formatNoMatches to add the option if there are no matches in the user sea...
Jethro asked 25/2, 2013 at 15:26
2
Solved
I have two multiple select2 boxes, Box1 options are populated dynamically,when i select any option from this select box, it should get added to the new Box2. This scenario is working as required. P...
Topgallant asked 18/7, 2014 at 8:9
1
Solved
So I am using the Select2 plugin, and am having trouble posting multiple options in a form. I am able to select multiple options but can only pass one through:
<form>
<select multiple na...
Piragua asked 9/12, 2014 at 20:55
3
Solved
I am using Select2 jquery plugin and I can't get results with json. When looking json response in browser it looks ok. Like this for example:
[{
"id" : "50",
"family" : "Portulacaceae "
}, {
...
Hesperides asked 8/12, 2014 at 1:6
3
am new to selenium and in my previous question Selenium IDE command for input type hidden it is using select2 please help me with the command to selection option for drop-down list.
i tried lookin...
Culmination asked 5/12, 2012 at 17:6
1
Good day!
I'm doing a Dynamic table which you can add/remove row, and I'm using select2 to search Items on the database via ajax and its working well at the moment, then I want to add another butto...
Hundredth asked 7/1, 2014 at 16:55
4
Solved
I am using select2 jquery plugin from http://ivaynberg.github.io/select2/.
I am using following code.
$(document).ready(function () {
$("#e6").select2({
placeholder: "Search for a movie",
min...
Entree asked 15/8, 2013 at 12:15
1
Solved
i'm building a web app using Laravel, and i have to implement tag selection, like this one used by stackoverflow, loading options via ajax and if is not exist create it, i did choose Select2 jquery...
Veldaveleda asked 3/11, 2014 at 13:49
2
Solved
I am attempting to wrap the great select2 jquery widget (https://github.com/ivaynberg/select2) in a Polymer element for easy reuse. I was able to get the select initialized correctly, but am runnin...
Amena asked 5/4, 2014 at 22:44
3
Solved
I was looking through Select2 (source code) and found each2 method prototype:
$.extend($.fn, {
each2 : function (c) {
var j = $([0]), i = -1, l = this.length;
while (
++i < l
&& (j...
Thermy asked 22/10, 2014 at 17:40
3
Solved
I'm using Select2 (version 3.4.0) to populate a tag list. The tags are matched against existing ones via ajax call, and I'm using createSearchChoice to allow creating new tags. The code works so fa...
Vivacious asked 17/5, 2013 at 9:48
© 2022 - 2024 — McMap. All rights reserved.