All Versions
35
Latest Version
Avg Release Cycle
59 days
Latest Release
1074 days ago

Changelog History
Page 1

  • v1.14.0-beta3 Changes

    April 20, 2021

    ๐Ÿ› Bug fixes

    • ๐Ÿšš #2634 Remove IE hacks in CSS
    • ๐Ÿšš #2669 Remove deprecated sass division with slash character
    • ๐Ÿšš #2627 Remove "mobile-device" class on destroy
    • #2616 Fix line ending in Latvian file
    • #2600 Fix optgroup
    • ๐Ÿ‘ #2367 Support selectedTextFormat of count > 0
    • ๐Ÿ›  #2585 Fixes two TypeError exceptions when up/down arrow pressed
    • ๐Ÿ›  Fix Cannot read property 'position' of undefined error
    • ๐Ÿ›  Fix Cannot read property 'index' of undefined error
    • ๐Ÿ›  Fix several overflow bugs
    • #2659 Fix broken Ajax search
    • #2593 Fix maxOptions bugs

    i18n

    • #2625 Add turkmen language
    • โšก๏ธ #2621 Update deselectAllText turkish translation

    ๐Ÿ†• New features

    • #2305 Add new CDN: PageCDN
    • ๐Ÿ‘Œ Support passing in a boolean more argument as an additional argument to the source.data/source.search callback functions

    Dev

    • โœ‚ remove bootstrap 3 test page
    • ๐Ÿ‘Œ improve test pages js code
    • โฌ†๏ธ #2680 upgrade npm dependencies and lockfile format
    • ๐Ÿšš #2617 remove dist folder from source tracking
    • โž• add actions for linting code and publishing on npm
    • ๐Ÿ‘• #2678 Add missing semi-colons and enforce it with eslint
    • ๐Ÿšš #2683 Remove polyfills and IE related code

    This project is now mainly maintained by @NicolasCARPi.

  • v1.14.0-beta2 Changes

    March 25, 2021

    ๐Ÿ†• New Features

    • ๐Ÿ‘ #2505: Support Bootstrap 5

    ๐Ÿ› Bug Fixes

    • ๐ŸŽ #2576: use vanilla JS selector to get first option (performance)
    • #2578: Fix allowClear so that it triggers change events

  • v1.14.0-beta Changes

    November 28, 2020

    To install: npm install bootstrap-select@next.

    ๐Ÿš€ The highlight of this release is support for using Ajax/JSON as the data source. This includes a new source option, which supports 3 properties: data, load, and search. All 3 support a function that passes an array of options to the callback argument. Alternatively, an array can be set (probably more useful for data). If source.load is set, it will be called when reaching the bottom of the dropdown menu. If source.search is set, bootstrap-select's internal search functionality will be bypassed, allowing you to perform the search yourself. If performing a search and source.search is set, it will be called again when reaching the bottom of the dropdown menu.

    Example usage:

    $('#test2').selectpicker({source: {data: function (callback) {var array = [{text: 'Tent',icon: 'fa-camera'},{text: 'Flashlight',selected: true},{text: 'Disabled Option',disabled: true},{value: 'divider',divider: true},{text: 'Toilet Paper'}];callback(array);},load: function (callback, page) {$.ajax('/api/load-more', { data: { page } }).then((response) =\> callback(response.data))},search: function (callback, page, searchTerm) {$.ajax('/api/search', { data: { page, search: searchTerm } }).then((response) =\> callback(response.data))}}});
    

    ๐Ÿ†• New Features

    • ๐Ÿ‘ #899: Ajax/JSON data source support
    • #1315: Reset select element when form.reset() is called
    • ๐Ÿ—„ #1416, #2147: Using title to set the select's placeholder has been deprecated. Use placeholder instead. title will no longer set the placeholder starting in v2.0.0. title and placeholder can still be used together to support a placeholder and a custom title.
    • ๐Ÿ‘ #1449: Add allowClear option to support deselecting the value for single selects
    • #1893: Add open and close methods
    • ๐Ÿ’… #2042: Support assigning a function to liveSearchStyle for custom filtering

    ๐Ÿ› Bug Fixes

    • #2507: Placeholder doesn't work when the first option is disabled

    ๐Ÿ’ฅ Breaking Changes

    • #1709: use DOMContentLoaded event listener to auto-init bootstrap-select
    • ๐Ÿ‘ #2259: Drop IE8 support
  • v1.13.18 Changes

    June 26, 2020

    ๐Ÿ› Bug Fixes

    • #1342: Bootstrap select doesn't send field data on form submit (set form attribute on select element to fix)
    • #2402: In Internet Explorer, with liveSearchPlaceholder enabled, can't select option while searchBox is focused. Also, selected option doesn't get scrolled to when opening menu
    • #2464: title attribute does not work in 1.13.17 (Safari)
    • #2469: Shift-Tab key not working in 1.13.17
    • #2474: With multiple selects, cannot select options with keyboard after using mouse to select options
    • #2483: Dropdown with unselectable index 0 will not scroll to top on arrow_down with last index selected
    • ๐Ÿšš #2491: remove placeholder/title option when destroying selectpicker

    ๐Ÿš€ Compare this release with the previous one.

  • v1.13.17 Changes

    May 07, 2020

    ๐Ÿ› Bug Fixes

    • #478: tab key skips selectpicker inputs on Mac (Safari)
    • ๐Ÿ’ป #1023: if title/placeholder enabled, select value changes when pressing back in browser
    • #1828: selectpicker('mobile') not working on iOS
    • ๐Ÿ’… #2448: Incorrect dropdown style when Bootstrap 4 version is not auto detected since 1.13.13

    ๐Ÿš€ Compare this release with the previous one.

  • v1.13.16 Changes

    April 24, 2020

    ๐Ÿ› Bug Fixes

    • #2380: Specifying a Title and OptGroups creates a redundant divider
    • #2381: Tick/check mark rendering in Firefox
    • ๐Ÿ’… #2391: setStyle fails if newElement.parentNode is a document fragment
    • #2393: liHeight does not consider custom option content when computing li height
    • #2442: Using a class in optgroup results in an error on refresh in chrome
    • #2445: Problem with refresh and selected item
    • #2446: Bootstrap select property '_dataApiKeydownHandler' error

    ๐Ÿš€ Compare this release with the previous one.

  • v1.13.15 Changes

    April 20, 2020

    ๐Ÿ› Bug Fixes

    • #2430: hasOwnProperty error with jQuery 3.5.0
    • #2439: error setting bootstrapKeydown if Bootstrap not yet loaded

    ๐Ÿš€ Compare this release with the previous one.

  • v1.13.14 Changes

    April 17, 2020

    ๐Ÿ› Bug Fixes

    • #2436: TypeError: Cannot read property 'content' of undefined
    • โšก๏ธ #2437: If a select has the title attribute set (and is not a multiple select), selecting an option doesn't update the value in the button

    ๐ŸŒ Translations

    • ๐ŸŒ #2195: Improve CZ translations
    • ๐ŸŒ #2274: Improve JP translations
    • ๐ŸŒ #2196: Add Serbian translations
    • ๐ŸŒ #2340: Add Thai translations

    ๐Ÿš€ Compare this release with the previous one.

  • v1.13.13 Changes

    April 16, 2020

    ๐Ÿ› Bug Fixes

    • #2339: data-size="false" not working
    • #2337: calling deselectAll/selectAll immediately after page load throws error
    • #2320: Dropup becomes a dropdown upon search
    • #2308: Keyboard control over Bootstrap Dropdown components stops working
    • 0๏ธโƒฃ #2272: Class bs-placeholder is no longer set on "default" values in 1.13.10
    • #2352: "Deselect All" doesn't consistently work with virtual scroll

    ๐Ÿš€ Compare this release with the previous one.

  • v1.13.12 Changes

    October 10, 2019

    ๐Ÿ› Bug Fixes

    • #2176: allow was-validated class to work on select elements without selectpicker class
    • #2321: CTRL + F5 not working while dropdown is open
    • #2308: Keyboard control over Bootstrap Dropdown components stops working
    • #2275: Bug: Event duplication on refresh
    • #2273: "precompiled bootstrap" link is broken in README

    ๐Ÿ‘Œ Improvements

    • #2243: change liveSearch input type from "text" to "search"

    ๐Ÿš€ Compare this release with the previous one.