Changes from v1.6.5 to v1.7.0
Bug Fixes
- #291, #582, #781, #791, #806, #995: Performance improvements - Overhaul of code, utilizing improved caching and native JS to drastically improve performance across the board
- #1004: fix maxOptions=1 within optgroups
- #989: fix close button when data-header is enabled
- #830, #961, #934, #962, #1008: fix keyboard navigation
- #799: fix data-size="auto" when scrolled to bottom of page
- #1014: add type="button" to buttons
New Features
- #699: Events have been added
- rendered.bs.select,
refreshed.bs.select,
changed.bs.select,
hide.bs.select,
hidden.bs.select,
show.bs.select,
shown.bs.select,
loaded.bs.select - hide.bs.select, hidden.bs.select, show.bs.select, and shown.bs.select
all have a relatedTarget property, whose value is the toggling anchor
element. - changed.bs.select passes through event, clickedIndex, newValue,
oldValue. true if selected and false if not selected. - loaded.bs.select fires after the select has been initialized.
- rendered.bs.select,
- #888, #738: Show "title" when using a non-multiple select
- A blank option is prepended to the select, which is then selected by
default. This allows the title to be shown when the select is initially
loaded and "no" options are selected yet.
- A blank option is prepended to the select, which is then selected by