- Issue #33 - Search gets nearly only triggered after input ends so there is not every time a request call
- Fixing option
minimumInputLength
so value0
can also be used and not like before that the minimumInputLength needs to be1
. Default is now setted to0
too
- Issue #32 fixed again - Fixing option function
tagsCheck
to work with async/await functionality did not work as expected and needed a little tweak
- Issue #31 - Calling CustomEvent
inserted.bs.bootstrap-nice-select
is getting called now on optiondata-tags
, which was missing - Issue #32 - Fixing option function
tagsCheck
to work with async/await functionality
- Issue #27 - Make remote call (AJAX/FETCH) workable with async/await with the help of
Promise.resolve()
- Issue #29 - Fix sending form on 'Enter' event on trying to add item
- Issue #26 - Input can no be the already selected HTML Dom
>select>
object so you do not need to give a CSS selector - Issue #28 - Added new parameter for a minimum input length on popup search named
minimumInputLength
Normally v2.0 release because of not backwards compatible manner of the standard file if someone is using the locale feature. Nethertheless the component currently is relatively new. That`s why the version will just be inreased as MINOR release and NOT MAYOR release.
- Issue #20 - Keyboard accessibility updated on
<input>
tag. Same functionality on keyArrowDown
like keyTab
added, which normally exists for search popup containers with list styles - Issue #22 - You do not need to set
multiple="multiple"
orhidden="hidden"
anymore. Only settinghidden
ormultiple
is enough now. Browsers already using this and it is now supported because of conformity and standardization - Issue #23 - Tagging box got a new position so on screen resize it is still readable. Fixed for better mobile responsiveness
- Issue #19 - Tags creation can now be constrained with the help of the option
tagsCheck
which needs a function to return aBoolean
- Support to override option
tokenSeparators
. This was already possible when using JavaScript initialization and you know that this property existed. Is is now possible via data attributes too and is getting documented. The tagging helper text got updated to so it represents the possible token separators - Issue #24 - Animation added for the overlay container (popup window) which can now be disabled via
data-animation
- Issue #21 - i18n (localisation) is rewritten. One
js
file per possible locale is added which is using the selected language. The currently used standard file is only supportingen
. Added a filebootstrap-nice-select-locale-all.js
with all locales like the old one which useden
as default language - Property
data-animation
triggers now if animation exists for overlay and programmatic control functions
Spacebar
characters are the reason why on special tagging elements the CSS selector keeps breaking. Fix is now added
- Issue #18 - no tag creation on pressing
Enter
orSpacebar
- Issue #17 - when using inside form, it does not get submitted directly anymore if clicking on an add button or delete button
- Use actual setted
disabled
property from item when given and not just decide, if it exists or not
- Programmatic control - Methods API documentation added with examples how to use them
- added new option
animation
as defaulttrue
ifhide()
orshow()
API method is called
- Invisble add/delete button on :active & :focus selector is now visible
Because of wrong usage of npm publish
, release v1.1.1 is skipped
- Issue #15 - Screen resizing fix for buttons on small screen
- Issue #10 - Button shadow colors are inheritable and can be created on your own via SASS variables
- Added more languages for localization
- Finished release of Homepage
- Added #3 - component is now mobile responsive
- Adding
disabled
feature
- Initialization from HTML fixed
- Update README.md and markdown files
- Margin and Padding is now better setted so it looks nicer
afterAdd
andafterDelete
options are now CustomEvents, which need to be added to the selectselector
HTML object so they get dispatched/triggered on the right time (normally v2.0 release because of not backwards compatible manner but because nobody uses the component currently, version will just be inreased as MINOR release)
First release of the bootstrap-nice-select
component.
- Automatic class selection for Bootstrap 4 & 5
- Modern looking scrollable select list option
- Fully skinnable, CSS built with SASS
- Localization - english and german
- Get data in JSON format using AJAX/Fetch and have them searchable via functionName or callback function
- Allow users to type in new options and add it on the fly via tagging option
- Setting own icons option to override possible themes
AfterAdd
andAfterDelete
options for callback function which will be automatically called after the event listeners