Questions tagged as 'select2'

1
answer

Filling a readonly input with Select2 in Laravel

A client asked me to enter an invoice you can select the identity card of the provider, and depending on it fill a field with the same name, and if you are not registered, you can register. Then I implemented Select2 for the ID search, and cr...
asked by 22.09.2017 / 06:18
1
answer

It does not respect values of my Database

I have a problem this is a part of my form to edit, in my code I use select to make a catalog but when editing any field and save it takes the first option of the select. How do I respect the data of the select that had previously been entered a...
asked by 17.04.2017 / 17:41
1
answer

Select2: Does not show results, but if you search

the last days I'm trying this topic I try to use the select2 I do the search but it does not show the results, apart from the select2 I have 2 inputs that are autopleted with the information that brings ajax , I hope to find a solution to t...
asked by 12.06.2017 / 21:37
2
answers

Select2.js does not select default value in DropDown

Good morning, I'm going to use select2.full.js and select2.css is an angle module. The problem is that when the dropdown is displayed, the default value selected in the option does not appear. But if it appears when I click on the DropDo...
asked by 06.02.2017 / 10:38
1
answer

Why do not you put the edges in red to the select as you do with the input? using the formValidation.io plugin

I'm using the plugin select2 but if I remove the library it does not mark the select. Here is my form: Here is a simpler one: Here is the HTML code: <form class="form-horizontal" role="form" id="form-crear"...
asked by 27.01.2017 / 08:16
2
answers

obtain value of a td by means of an onchange select in another td within the same tr in a foreach

I have this table created with the% co_from% a% co_from% is used <table class="table table-bordered"> <tbody> @foreach($usuarios as $key => $tag) <tr id="caputracorreo" data-us...
asked by 25.11.2016 / 16:49
0
answers

How can I prevent ajaxStart from running?

I have a code that shows a load symbol when there is an ajax query, everything works well the question is that I have done a dynamic select2 that loads the data with ajax and I find it annoying that when I write in the input the symbol appears i...
asked by 20.12.2018 / 04:56
1
answer

Help with multiple select2

I have a reservation form, in which I was asked by a client to make several reservations on an invoice, I thought of using select2 with the multiple option to add several rooms in an easy and friendly way, but, there is always a but, When I add...
asked by 05.12.2018 / 04:36
0
answers

assign values to input from selected ID of a select2

I hope you can help me, I'm new to this. I need that when selecting an input from a select2, show me the cost and the unit of measurement of the selected input in their corresponding input, in this case the inputs "unidadI_P" and "costoI_P"....
asked by 08.11.2018 / 23:46
1
answer

Select2 does not work within a table

I have a table that contains different elements, one of them must be a select using Select2 to facilitate the searches. It turns out that when I add the properties to turn it into a Select2 search select, it does not work ... this is my code...
asked by 25.09.2018 / 23:45