jquery-select2 Questions
12
Solved
I know how to enable the selected attribute from dropdown; I can use this code :
$('select').select2();
but my problem is how to disable it ? thx
Fairleigh asked 17/1, 2014 at 13:18
4
I don't know why but select2 is not working by just adding vue js. Tried lot of things like searching but no solution. When i remove vue it works and when i add it don't why is that happening in fi...
Paludal asked 13/1, 2018 at 18:28
2
Solved
I have a Select2 Box, with tagging enabled to add new own tags. Selecting an existing option works without any problem (of any length). But some code prevents me from adding a new option longer tha...
Pugging asked 8/5, 2019 at 18:5
2
Solved
I am using select2 v4.0.3 along with JQuery.
I initialize my selectors as:
$("#datatype").select2({
theme: "classic"
});
$("#unit").select2({
theme: "classic"
});
Then I want to detect a...
Adiell asked 23/7, 2016 at 3:17
9
I'm using Select2 in my webapplication. I load my Select2 boxes with Ajax. When validation fails, all the inputs are filled as before except the Select2 box. How can I restore the old value after t...
Adscription asked 19/4, 2016 at 17:2
4
Solved
I am using select2 with ajax option, and when ajax runs, a text "searching" appearing until ajax get success. I want to change this text(see in attached image).
My code is:(reference from https://...
Tapestry asked 24/4, 2019 at 9:55
3
Solved
I'm using Select2 plugin (http://ivaynberg.github.io/select2/) and as you can see by the list of tags I have in the screenshot, they aren't listed alphabetically and I'd like to be able to do so.
...
Undervalue asked 1/7, 2014 at 23:9
3
Solved
I have a select 2 multi-select option
<select multiple name="event_type[]" class="form-control" id="selectEvents">
@foreach ($eTypes as $type)
<option>{{$type}}</option>
@end...
Paleethnology asked 20/6, 2016 at 7:54
5
I have dependent fields like this
<List>
<select>
<option></option>
<option></option>
</select>
<select>
<option></option>
<o...
Diageotropism asked 3/2, 2016 at 11:56
2
Solved
I'm using Select2 version 4.0.0 and trying to load a remote JSON from a PHP script that returns the already formated data that I need. The problem is that the forces of the darkness are making some...
Counterbalance asked 18/5, 2015 at 18:5
4
Usually I do very little work on html side of the application because for the most part I just let that get generated for me.
I am working on an app for a blog with Posts Tags and Comments. What I...
Dysphasia asked 1/5, 2014 at 22:18
5
I've got a simple select2 box which loads a dropdown menu.
But what's the best way to reload the dropdown menu each time the select menu is opened with the results of an AJAX call? The ajax call w...
Eyeglass asked 13/11, 2012 at 14:8
9
Solved
I want to have a dropdown with a set of values but also allow the user to "select" a new value not listed there.
I see that select2 supports this if you are using it in tags mode, but is there a ...
Guiltless asked 29/1, 2013 at 6:35
3
Solved
I have the following Select2 configuration.
$scope.select2Options = {
simple_tags: false,
placeholder : "Search for a language",
multiple : true,
contentType: "application/json; charset=utf-8"...
Harneen asked 14/10, 2013 at 10:18
1
Right now I am wondering what the full differences between select2, and select2 full are. I can not find a webpage that goes into details about them in the docs. The docs just mention compatability...
Fount asked 14/9, 2018 at 17:18
1
Solved
I am using JS Select2 library to use as multiple options select. The select is positioned within a div which is scrolled by its parent div with css - overflow-y: scroll. The nested div scrolls fine...
Whirligig asked 31/3, 2019 at 10:31
2
I'm using Pixel Admin template, which is not a current version of now I think, to implement a jinja2 web application that using an old version of the select2 dependency version 3.5.1. It is working...
Premedical asked 17/6, 2018 at 8:32
3
Solved
I am using select2 in an express app to make an input box where users can select subjects from a list, and can update this list with any newly added options.
The thing I'm struggling with is that ...
Maund asked 15/3, 2019 at 17:41
9
Solved
I have a jQuery Select2 control that uses AJAX to populate:
<input type="text" name="select2" id="select2" style='width:400px' value="999">
var initialSelection = { id: '999', text:"Some in...
Bandeau asked 21/8, 2014 at 14:1
2
Solved
I want to use a select2 selectbox inside my bootstrap datatable. I need to use the full select2 js But it is not working and I am wondering why.
$(document).ready(function() {
var table = $('#...
Poesy asked 5/7, 2017 at 13:48
2
Solved
I am using select2 for multi select and when I select first time , any option , null value from blank option always get selected.
And another problem if I don't use placeholder first option get sel...
Stanwinn asked 20/4, 2018 at 13:59
6
Solved
I want to hook an event in my select2 once it gets cleared. The select2 was initalized with allowClear: true. Yet the event
$select.on('select2-removed', function(event) {
console.log(event);
});...
Bullivant asked 3/7, 2014 at 15:43
4
Solved
How to make placeholder for select2 jQuery plugin. On StackOverflow many answers how to make placeholder there, but they about element's placeholder. I need to specify a placeholder for the search ...
Vaenfila asked 22/8, 2017 at 13:34
9
Solved
I am using Select2 Jquery to bind my dropdown which is used for multiple selection . I am using select2 jquery.
It's working fine, I can bind my dropdown but I need to get the selected value from ...
Warton asked 15/10, 2012 at 4:28
4
Solved
I was working with select2 in vuejs , I found vuejs is not working with jquery select2 as vuejs is working with navite html.
I am using this code
Vue.directive('select', {
twoWay: true,
...
Irrationality asked 5/12, 2016 at 12:1
© 2022 - 2024 — McMap. All rights reserved.