Releases: Choices-js/Choices
Version 8.0.0
This version contains multiple breaking changes:
- The ability to pass multiple elements to one instance of Choices has been removed - now only one element can be associated with Choices (#693)
- The undocumented
userDefaults
static property has been removed - The
ajax
method has been removed.setChoices
can now be used to set choices dynamically - more info can be found in the README (#701) - The
addItemFilterFn
option has been renamed toaddItemFilter
and now supports regex's (#699) Element.prototype.closest
has been added to the required polyfill list (#696)- The
.is-hidden
class has been replaced with thehidden
attribute (https://github.com/jshjohnson/Choices/pull/691/files)
This version also contains numerous bug fixes, type fixes + tooling improvements 🎉
Big thanks to @tinovyatkin for his contributions to this release!
Version 7.1.0
Version 7.0.2
Version 7.0.0
Version 6.0.3
Fixes an issue in the previous release where Fuse was not be transpiled to ES5 code.
Version 6.0.2
Version 6.0.1
- Upgrades Fuse.js to fix IE11 issues
Version 6.0.0
The regexFilter
config option has now been removed and replaced with addItemFilterFn
which is more flexible.
The toggleDropdown
method has also been removed as it was broken and arguably unnecessary.
This release also fixes a bug where the dropdown message would not display whilst typing.
Version 5.0.0
With this release the following polyfills have been removed to reduce the bundle size:
Array.prototype.find
Array.prototype.includes
Array.from
If you need to support browsers that do not have these features, see here: https://github.com/jshjohnson/Choices#browser-compatibility
This release hopefully also resolves rendering performance issues with large data sets.