A vanilla JS customisable select box/text input plugin ⚡️
Fixes an issue in the previous release where Fuse was not be transpiled to ES5 code.
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.
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.
Fixes bug raised here: https://github.com/jshjohnson/Choices/issues/463
Fixes a few bugs related to pressing the enter key (https://github.com/jshjohnson/Choices/issues/462)
A Choices input will now be disabled when loading remote data and will be enabled once the data has loaded.
When a select box has a 'disabled' attribute when you initiate Choices, the entire input will now be disabled. Before you could still open and close the dropdown.