Questions tagged as 'select2'

1
answer

Apply plugin Select2 with vue.js

I'm trying to apply the plugin Select2 on a select I charge it using VUE.JS (I do a v-for on the% option select ) If I do not apply the plugin, by doing v-model="modelo" , I can use the variable ({{mode...
asked by 11.10.2016 / 20:02
0
answers

Select2 PHP search does not work

Hello good day I'm using the js select2 to fill a combo, I managed to fill it but the search now does not work for any character. This is my code js $(document).ready(function(){ // $('#panel_mantenimiento').hide(); $('#reg_id').select2({...
asked by 31.03.2018 / 23:01
0
answers

Problems with select2: does not show results with JQuery

I am using select2 , you search me well but you do not show me the results. On the other hand, how do I make it so that when I click on some product result, I automatically put the price and the amount in input of the side? My...
asked by 09.06.2017 / 23:28
0
answers

Jquery - select2 in table td element

Hello, I have a table where the td elements can be edited online (double click and an input element is added so that the cell can be edited). I have some columns where it is necessary to have a list of predefined values and where I want to use t...
asked by 15.05.2016 / 18:56
2
answers

The required attribute (HTML5) in the Select element does not work

I have a form in my laravel project, in which I want to validate certain fields, the fact is that I use the required HTML5 attribute, the thing is that it only works on the elements input in the select , however, one does not work ... it do...
asked by 04.08.2016 / 14:13
1
answer

Unable to convert type 'System.Int32' to type 'System.Object'

I am working with Entity Framework with mvc and on the client side I have implemented a Select2 for this I have created the following model: public class Select2 { public int id { get; set; } public string text { get; set; } public...
asked by 26.12.2018 / 17:15
1
answer

Problem with jQuery ui and select2

At the moment I'm trying to solve a problem I have and that is when you activate the function datepicker of jQuery ui and% select2 only take me the first box of the table, can you help me as I do so that I put the attributes of...
asked by 17.04.2018 / 18:41
1
answer

Problems with css and js of Select2 in laravel

I am using laravel with an AdminLte template that supposedly brings the css and js of Select2, a package that I need to have multiselects, but it does not work it simply puts the multiselect of html flat. What may be happening, I am using this c...
asked by 22.03.2018 / 14:39
1
answer

error with a select2 in front of a modal

I have the following problem, when selecting the select2, the options are shown below the modal hiding from the user's view, some way of solving it and showing it in front of the modal? Try the following code: .select2{ z-index: 999999; }...
asked by 01.12.2017 / 00:19
1
answer

Select2 does not work in DataTable

Good, I have a DataTable in which several buttons with manners, in those manners I have several <select> with its select2, these work correctly, but when I want to use the same class of one of those select2 to do another dropdown in...
asked by 13.11.2017 / 13:39