- #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 #2671 Fix broken Ajax search
- #2593 Fix maxOptions bugs
- #2305 Add new CDN: PageCDN
- Support passing in a boolean
more
argument as an additional argument to thesource.data
/source.search
callback functions
- 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.
- #2505: Support Bootstrap 5
- #2576: use vanilla JS selector to get first option (performance)
- #2578: Fix allowClear so that it triggers change events
- #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. Useplaceholder
instead.title
will no longer set the placeholder starting in v2.0.0.title
andplaceholder
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
andclose
methods - #2042: Support assigning a function to
liveSearchStyle
for custom filtering
- #2507: Placeholder doesn't work when the first option is disabled
- #1709: use DOMContentLoaded event listener to auto-init bootstrap-select (performance boost)
- #2259: Drop IE8 support
- #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
- #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
- #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
- #2430: hasOwnProperty error with jQuery 3.5.0
- #2439: error setting bootstrapKeydown if Bootstrap not yet loaded
- #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
- #2195: Improve CZ translations
- #2274: Improve JP translations
- #2196: Add Serbian translations
- #2340: Add Thai translations
- #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
- #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
- #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
- #2243: change liveSearch input type from "text" to "search"
- #2263: Selecting non-existent option throws error in v1.13.10
- #2266: Desired width of dropdown menu breaks after resizing window
- #2285: bootstrap-select throws javascript error with jquery slim
- #2289: Multiple ticks in optgroup with data-max-options defined as "1"
- #2326: In IE11, options aren't visible when moving to bottom via "up" arrow key if select has an optgroup
- #1219: Keyboard navigation not working when searching and virtualScroll is false
- #2109: elements with .form-control class don't adjust height properly since Bootstrap 4.1.3
- #2126: showTick option not working as expected
- #2153: Screen reader doesn't read elements in expanded list (NVDA and JAWS)
- #2251: A standard select with a selected option doesn't scroll to the selected option if inside an optgroup
- #2253: hideDisabled and selectedTextFormat: count not working correctly if disabled options are selected
- #2256: selected option styling is not updated if .selectpicker('val', x) is called while dropdown menu is open
- #2258: menu size doesn't update when virtualScroll is disabled while the menu is open
- #2022: selected class is not removed properly when virtualScroll is disabled and choosing options at the bottom of the select
- #2106: setting BootstrapVersion option still shows console warning
- #2126: setting show-tick class doesn't work
- #2232: Every 'refresh' appends a new span.check-mark
- #2233: server-side error: HTMLSelectElement is not defined
- #2234: position bootstrap-select behind input field
- #2235: Mobile native menu not accessible
- #2236: JS errors are thrown when using bootstrap select on js-generated select (after calling destroy())
- #2239: Setting styleBase and empty style result in exception
- #2244: val() method fires changed.bs.select, but the select's previousValue is not passed through
- #2245: some default Bootstrap 4 styles are not being set when using BootstrapVersion
- #2248: width: fit in IE collapses button with text overflowing
- #1969: Does not work with form-inline from bootstrap
- #2229: The height of menu is calculated incorrectly with extra css
- #2231: Sanitizer error on large single selects without virtualScroll and one option selected
- #2046: val() method incorrectly fires a native change event
- #2109: The height of the select doesn't auto-size with multi-line options
- #2213: button height wrong if using an older doctype
- #2220: js folder missing in bower_components/bootstrap-select/dist
- #2221: style option can no longer include multiple styles
- #2224: auto width (data-width="auto") not working
- #2226: Selecting option by typing is not working correctly
- #1321: remove extra files from bower release
- #1665: performance improvements
- #1832: use
on
andtrigger
event handlers instead ofclick
andchange
shorthand - #2078: Elements in an input group below a selectpicker have a higher z-index, causing them to appear above the opened menu
- #2150: Live search discards the first typed character
- #2163: Cannot read property 'top' of undefined (ensure container exists)
- #2166: Sub options display separately instead of as 1 list
- #2187: move bulk of logic into a setTimeout for faster page load
- #2189: Empty select refresh error "Cannot read property 'classList' of undefined"
- #2198: "Cannot read property '0' of undefined" when dropupAuto is false and the select is at the bottom of the page
- #2199: Escaped tags parsed as non-escaped in title and data-content
- #2202: always update menu size after updates to live search
- #2206: Map file for minified js version does not work correctly
- #2210: An extra divider is added if an optgroup is the last visible element and there are hidden options after it
- #2217: The bottom divider of an optgroup disappears when searching and one of the options in the optgroup is hidden
- #2199: Fixed an XSS vulnerability with data-content, data-subtext, and title options. Implemented a new HTML sanitizer for data-content.
- #2160: Selects with a title option throw an error in the render function
- #1710: When listening for keydown event on .bs-searchbox, ensure it is a child of .bootstrap-select
- #1943: Option dropdownAlignRight auto doesn't work
- #2034: Uncaught TypeError: Cannot read property '0' of undefined
- #2082: button vertical alignment
- #2105: Dynamically added picker causes resize JS error
- #2118: Memory leak: getPlacement resize & scroll
- #2140: data-hidden broken in v1.13.0
- #2151: This plugins broken when the version of IE below 10
- #2125: add styleBase option to documentation
- #767, #1876, #2026: Improve/expand liveSearchNormalize
- #2120, #2121, #2152 - replace JSHint with ESLint (clean up code)
- #1910: Amharic locale
- #1926: Latvian locale
- #1425: Don't render checkMark (tickIcon) if showTick is false or the select is not multiple
- #1828: Select not working on mobile
- #2045: 'auto' width not working
- #2086: Cannot read property 'display' of undefined
- #2092: Cannot read property 'className' of undefined
- #2101: Extra tick mark when using livesearch in Bootstrap 4
- #1999: selected styling removed from previous option in a multiselect
- #2024: Arrow down key doesn't scroll the view to the top when virtualScroll is disabled
- #2027: data-max-options="1" not removing selected class
- #2029: LiveSearch and "Select All" selects too many options
- #2033: Dividers broken on bootstrap 4
- #2035: Selectbox with live search throwing error when UP/DOWN key is pressed
- #2038: Select / Deselect All buttons are modifying disabled options
- #2044: When data-container is set, first click resets scroll position
- #2045: 'auto' width not working
- #2047: Optgroup labels are escaped
- #2058: Menu hight is not properly calculated when using data-size and styling the options' height
- #2079: Subtext is difficult to read on active options
- #1972: add option to manually specify Bootstrap's version
- #2036: Add support for Bootstrap dropdown's display property added in v4.1.0
- #2076: HTML content in the subtext get escaped in 1.13.0
- #2073: Error retrieving Bootstrap version
- #2073: Bower description is too long
- #2071: noneSelectedText not working
- #2060: form control sizing classes not working
- fix sass variable syntax
- #2062: popper error when bootstrap-select is in a navbar
- #1913:
causing formatting errors on MacOS - #2061: unnecessary caret code with Bootstrap 4
- #2065: .empty() method is not working
- #2063: New-lines in options cause formatting issues with title attribute (if multiple options selected)
- #2064: Purely numeric
data-subtext
breaks live search - #2066: Button padding when using data-width="fit" is incorrect
- #2067: input group addons not displaying properly
- #2077: selectAll performance in Edge is abysmal
- #2074: show-menu-arrow not displaying properly
- #2068: Bootstrap 4 validation pseudo classes not being applied properly when new options are appended dynamically
- #2070: popover-title is not popover-header in Bootstrap 4
- #2075: liveSearch with data-content not working
- #2072: Button text breaks to the next line when using form-control as styleBase (Bootstrap 4)
- #2069: Placeholder text is unreadable on darker buttons (btn-primary, btn-success, etc.)
- #1691: XSS vulnerability in option title
- #1404, #1697: changed.bs.select now passes through previousValue as the third parameter (instead of the previous value of the option, which was redundant). This is the value of the select prior to being changed.
- update jQuery range to make v1.9.1 the minimum (and exclude version 4)
- #1034: Issue with long option inside input-group
- #1135: Support Bootstrap 4 (via auto-detection)
- virtualization is now optional via
virtualScroll
. Can be set to false, true, or an integer to only use virtualization if the select has more than the specified number of options. Defaults to 600. - update docs to support MkDocs v0.17.0
- #1303: val() method doesn't fire changed.bs.select
- #1383: Croatian locale is not cro_CRO. Renamed to hr_HR
- #1395: title option position not correct when adding options dynamically
- #1398: trigger setSize on refresh event
- #1674: Fix li tags inside option being treated as options
- #1692: Live Search Box Not Cleared After Selection
- #710: focus on selectpicker triggers focus on actual select, allowing for event listeners
- #1110: 'active' class is only applied when liveSearch is on
- #1229: Large lists and virtualization
- #1687: Improve init performance
- #1286: Event creation throws illegal constructor error on stock Android Browser < 5.0
- #1764: Bootstrap-select steals focus on form.checkValidity
- #1529: add selectAllText and deselectAllText to translation files (used Google Translate)
- #1604: Keydown improvements
- #1630: htmlEscape inline style
- #1631: Livesearch performance
- Add/update various translations
- #1563: key word searching broken in #1516.
- #1570: properly adjust size when inside form-group-sm or form-group-lg
- #1590: menu height calculated improperly when using liveSearch and input has custom height
- #1220: unescape button title
- #1348: escape HTML for optgroup label
- #1506: Fix bs-placeholder usage for jQuery>=3.0
- #1509: inline style Content Security Policy
- #1477: using liveSearchNormalize and liveSearchStyle="startsWith" simultaneously breaks search
- #1489 fix selectOnTab with liveSearch enabled which was broken when #1489 was fixed
- #1533: remove touchstart event listener (issues with FastClick)
- remove destroyLi function - improve refresh() performance
- #1531: add Spanish (Spain) translations
- #1553: don't use replace in normalizeToBase if text is undefined (throws error otherwise)
- #1503: Add windowPadding option (either a number or an array of numbers - [top, right, bottom, left])
- #1516: Improve liveSearch performance (addresses #1275)
- #1440: allow HTML in placeholder title for non-multiple selects
- #1555: Use default with SCSS variables
- fix sourceMappingURL in bootstrap-select.min.js
- #1475: fix Cannot read property 'apply' of null error
- #1484: Change events fire twice on IE8
- #1489: hide.bs.select and hidden.bs.select events not fired when "Esc" key pressed with live search enabled
- #1291: don't trigger change event if selecting an option that passes the limit
- #1284: check if all options are already selected/deselected before triggering changed/changed.bs.select
- #1245, #1310: With livesearch, when keypress, focus to search field isn't working with some characters
- #1257: fix issue with Norwegian translation
- #1346: fix edge case where default values are not respected when initializing the plugin
- #1338: improve support for disabled optgroups and hidden options
- #1373: prevent selectAll and deselectAll from being called on standard select boxes
- #1363: if hideDisabled is enabled, and all options in an optgroup are disabled, the optgroup is still visible
- #1422: fix menu position inside a scrolling container
- #1451: fix select with input-group-addon on both sides
- #1465: changed.bs.select not firing for native mobile menu
-
#1459: jQuery 3 support -
$.expr[':'] -> $ .expr.pseudos
- #1139: add placeholder styling via
bs-placeholder
class - #1290: auto close the menu if maxOptions is set to 1 (instead of leaving open)
- #1127, #1016, #1160, #1269: add 'auto' option for dropdownAlignRight
- 58ed408: support using a string for maxOptionsText
- #541: ARIA - Accessibility
- #1268: performance bug in clickListener
- #1273: html5 validation message disappears in Chrome 47+
- #1295: hide select by default (so there is no flash of unstyled content)
- #950: add
.selectpicker('toggle')
method to allow menu to be open/closed programmatically - #1272: add showTick option
- #1284: selectAll and deselectAll now trigger the
changed.bs.select
event
Add Lithuanian translations.
- #1250: don't destroy original select when using
destroy
method - #1230: Optgroup label missing when first option is disabled and
hideDisabled
is true
Add new translations.
- Fix #1235 - issue with selects that had
form-control
class