Questions tagged [bootstrap-selectpicker]

Use this when referring to Bootstrap-select by Silvio Moreto. This is a jQuery plugin that utilizes Bootstrap's dropdown.js to style and bring additional functionality to standard select elements.

website

https://silviomoreto.github.io/bootstrap-select/

github

https://github.com/silviomoreto/bootstrap-select

syntax

$('.selectpicker').selectpicker({
  style: 'btn-info',
  size: 4
});

screenshot

enter image description here

326 questions
-1
votes
1 answer

I am using selectpicker I want to edit the data coming from the database, but all options are coming already selected

all categories coming selected which i want to see only which information is coming from database. sorry for my english.
-1
votes
1 answer

Check if value exists in selectpicker options

I need to check if an option(arrayItem) already exists in my selectpicker to populate it with : $("#iselectroledirregional").append('').selectpicker('refresh'); I already tried this in an…
userHG
  • 567
  • 4
  • 29
-1
votes
1 answer

Bootstrap selectpicker live search: on keyup call ajax to fill options

I wish to customize bootsrap selectpicker but I'm really not able to understand how to catch the search text on keyup blocking the default dropdown menu from showing. Anyone did this before and may help me on finding the right way? Here it is what…
Luca
  • 848
  • 1
  • 14
  • 33
-1
votes
1 answer

JavaScript, Bootstrap selectpicker, keep values on select when other changes

I want persist the 2nd selected options when the first one changes. I've made a jsfiddle to work with it: http://jsfiddle.net/pmiranda/yeh6b83s/40/ $(document).ready(function() { // I'll give and empty array, because I will assume that at first…
pmiranda
  • 7,602
  • 14
  • 72
  • 155
-1
votes
1 answer

Why my selectpicker does not expand and display all the options within it?

I am currently working on a web application that provides a function for user to upload an excel file, which will read into a "dataframe" then subsequently be filtered according to the user's preferences. To upload the file, I have included…
Soon Hang
  • 91
  • 2
  • 11
-1
votes
1 answer

Select picker is not working with simple html select?

I am using select & selectpicker-plugin for states and places values. State values are loaded properly in select option and on select change select picker value(places) should be displayed. On web pages, place values are not visible and when i check…
-1
votes
1 answer

Bootstrap selectpicker MVC dropdown livesearch

I am quite sure my problem is something to do with the script reference. I have added it to my bundles bundles.Add(new ScriptBundle("~/bundles/bootstrap-select").Include( "~/Scripts/bootstrap-select.js", …
-2
votes
1 answer

How to configure a maximum selection limit for Bootstrap Form Select

I have to add a limit to Form select control with multiple selections enabled How to configure a maximum selection limit?