I am trying to use Select2 on a new Rails 7 app and am struggling as follows: I have pinned it into my import maps and imported it like so: pin "application", p
Example results that i want : I already did the qrcode scan and select2. It is working fine. The problem is I want that data "SBD2P3000002" to be searched in
I am trying to set option selected where option value is 1. But I am getting in trouble when using v-select from vuejs. This is how I am trying to do - <v-
I'm using a select2 dropdown, and would like to set different colours on each options. Example: <select class="select2" name="fruit"> <option cl
I need to hide/show a certain option group (<optgroup>) conditionally and I've tried the top solution from this question - Select2: Hide certain options d
I have a form I am trying to understand its behaviour in Django. The form code looks like : class RequestForm(forms.ModelForm): TIMEPOINTS = (
This question evolved into preventing the dropdown from opening on enter key press. As you can see, my ugly solution closes the dropdown with a setTimeout when
I am new to javascript, callback functions and select2. Thanks in advance for your help :) I am looking at implementing select2 to search against an API but I
I'm completly stuck trying to implement AUI.select2 style multiselect customfield in jira plugin. in main class I just declare the constructor and do not overri
I'm using select2 for a dropdown so the use could add new tasks for a project. When the task is being selected - a row in a table is being added and the option
I use Form Component and have a ChoiceType field on the form which is rendered to a select field. On the client-side I use select2 plugin which initializes a se
var data = [{ id: 11-07, text: 'enhancement' }, { id: 11-04, text: 'bug' }, { id: 11-08, text: 'duplicate' }, { id: 11-09, text: 'invalid' },
I am using the bundled AUI Select2 Lib in a JIRA 8.13 instance. What I would like to try is to code an autocompletion field with multiple values. My main compon
I am a developing a Ruby On Rails app using Rails 4.2.6. I am using Turbolinks alongside jquery.turbolinks (sorry I could'nt post the links to those elements as
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.
I am trying to listen to a Select2 event in a Stimulus controller via the data-action. I have a stimulus controller, where I have included an event listener for
I can get this to work... var options = [{id: 1, text: 'Adair, Charles'}] $('#names').select2({ data: options, }) But i cant work out how to get from h