jquery-select2 Questions
14
I am using Twitter bootstrap and the fantastic Select2 plugin.
These are working great, I realized you need to set {width: 'resolve'} when initiating Select2 otherwise it looks messed up!.
But I ...
Tieback asked 14/1, 2013 at 3:29
14
I want to be able to set the default/selected value of a select element using the JQuery Select2 plugin.
Carree asked 6/6, 2013 at 18:39
14
Solved
I have a Select2 auto-complete input (built via SonataAdmin), but cannot for the life of me figure out how to programmatically set it to a known key/value pair.
There's a JS Fiddle here that shows...
Stuppy asked 20/8, 2014 at 1:28
6
Solved
Here is a fiddle for example.
What this example shows is with a normal multiple-select select2 element as the user selects items from the list it will expand down and cause the parent container to...
Arundinaceous asked 25/9, 2015 at 17:29
4
Solved
I'm using select2 with Bootstrap 3.
Now I would like to know whether it is possible to display all optgroup items if the search matches the optgroup name while still being able to search for items ...
Assurgent asked 24/2, 2014 at 16:2
5
I am using select2 with bootstrap 3 theme and the select2 element overflow container if option with long text is selected and width of element is 100%.
This happens only in Mozilla Firefox!!
I cr...
Urbanity asked 5/8, 2015 at 11:20
5
I have a select2 list and a set of external buttons. I wanted to click the external buttons and unselect corresponding items in the select2 list. I know I can do item selection from external value ...
Conker asked 3/3, 2014 at 22:50
3
Solved
I'd like to be able to use the arrow keys to get to the select2 option I want and then press tab to select that option and then tab to the next element as usual.
I already got the down arrow to op...
Jordan asked 30/5, 2018 at 12:54
5
I'm using bootstrap on a site, and using the following code on load to turn my select boxes into select2 dropdowns
$("select").select2();
However when any page with a select dropdown loads, ther...
Glimp asked 24/4, 2015 at 14:8
5
Solved
Seems that select2 4 opens by default the dropdown when clearing the current selected item. Previous versions of select2 didn't seem to have that behaviour and I'm trying to achieve it but no luck ...
Endbrain asked 14/4, 2015 at 2:52
7
Solved
Good day, How can I properly close a select2 dropdown via jquery or javascript??
for now Im using select2-dropdown.toggle() to close it,
but I noticed that It will simply hide the list and the s...
Orthopedic asked 8/2, 2014 at 16:1
7
Solved
I want to hide or show my select2, but I can't find a method in the API. I'm using a workaround, hiding the parent, like this:
$(document).on('change', '.country', function () {
if ($(this).val()...
Caducity asked 5/1, 2017 at 3:46
4
Solved
I am using the select2 plugin on my select services_dd in my form, I have a link on the page with a class .js-autoselect. On clicking this I want to take the ID of that link tag and change the sele...
Squash asked 21/12, 2012 at 9:24
6
Solved
Is there a way to right-align the dropdown menu with dropdownAutoWidth: true in a select2, instead of the standard left-align? I want the select to stay the same, but the dropdown to move to the le...
Histiocyte asked 6/8, 2018 at 8:2
6
I'm using Select2 to provide dynamic select functionality on my page.
Here is the code:-
$("#Spon_Index").select2({
placeholder: "Type to select a sponsor",
minimumInputLength: 3,
multiple: fa...
Salome asked 27/5, 2015 at 14:6
4
I am trying to use select2 with ajax loading.
Here is my code:
clonedTemplate.find('[id^=detailsPhaseFinanceMinor_]').select2({
placeholder: "Select",
minimumInputLength: 1,
ajax: { // instead...
Impertinent asked 18/1, 2013 at 16:26
11
I'm looking for a way to prevent select2's search-input being automatically focussed when the select2-dropdown is opened. I know this is select2's intended default behavior - and while this is fine...
Anisotropic asked 1/8, 2013 at 13:12
8
I'm trying to hide some of the Select2 options, but when I do something like this:
<option style="display: none;">...</option>
Select2 ignores it, unlike when I disable an op...
Acculturize asked 3/3, 2014 at 9:33
2
Solved
I am using Select2 3.5.1. With this plugin I can successfully load remote data. However I am here today to ask a question to improve this search. Here is the step-by-step to understand what I would...
Khrushchev asked 20/10, 2014 at 13:25
5
Solved
Can't type in Select2 dropdown input search field (http://kevin-brown.com/select2/)
I have found many issues listed which mentions the same problem but nothing worked for me (https://www.google.co...
Creditable asked 3/10, 2017 at 13:26
5
Select2 version 4.0.3: When using multi-select of a large list of options with closeOnSelect set to false, I'm trying to select a number of options from the middle of the large list. Each time I se...
Corpsman asked 10/11, 2016 at 5:5
3
I am using Select2 jQuery Plugin.
https://select2.github.io/ for reference
When I am using the multiple dropdown option. The result of selected items is shown as tags in a box but, I just want to...
Rhianna asked 29/7, 2016 at 6:54
4
Solved
I am attempting to use the Select2 library in my site to leverage placecomplete (following it's rather simple configuration steps here), but when I run the code I get a strange error -
Error: N...
Lacto asked 14/5, 2015 at 11:13
3
Solved
I'm using library select2 from Pixels Admin Template. I noticed that it is working well on desktop and android device. Yet, the drop down does not open when viewing on iOS device. I did not know wh...
Azerbaijani asked 26/8, 2018 at 23:51
3
Solved
I asked a question earlier today (jquery select2: error in getting data from php-mysql). However, I am trying to fix it and doing that now I am getting bit strange issue. I am not sure why it is ha...
Smilax asked 5/2, 2016 at 19:1
© 2022 - 2024 — McMap. All rights reserved.