2024-11-23
- Don't throw error when endpoint type
optionsis undefined
2024-09-16
- Option should display as selected even when value is an object
2024-07-29
- Removed optional chaining, fixes #420
2024-06-14
- export
resolvedOptions
- Typing fixes (Thanks to @nurbek0298 🙏)
- Always scroll to selected option on open #406
- Use
clickinstead ofmousedownevent #387
- Performance optimization (Thanks to @negezor 🙏)
2024-03-20
- Clicking on scroll bar closes the dropdown fix #383
- Types for scoped slots #391
- Missing method types and typo fixes #376 #392
- Don't show dropdown id when id is not defined
- Avoid error when multiselect does not exist #394
2023-10-18
- Added
appendTooption. - Added
${id}-dropdownto dropdown DOM.
- Included
@popperjs/coreforappendToBody/appendToposition fixes.
2023-10-16
- Type fixes.
2023-10-14
- Type fixes.
2023-10-07
- Added
appendToBodyexperimental feature for Vue.js 3 only. #133 #341 trackBycan now accept array. #314- Auto truncate long tags. Added
breakTagsprop. #346 - Added
handleCaretClickandisOpentocaretslot. #320 - The externalValue (from
v-model) is now reactive. #356
limitprop was not reactive. #342- Trigger
deselecton tags backspace. #335 - Keyboard nav on group select fix. #354
- TypeScript fixes. Thanks @antpngl92 @Adeiko @mathildaax 🙏 #287 #282 #260 #230
searchFilterdid not receive proper args. #338 #337- Open dropdown when it has search, it's focued and dropdown is closed. #333
- Options are cleared before
clearevent is emitted. #332
2023-04-17
- Removed
sideEffects: falsefrompackage.json.
2023-03-14
- Use
.mjsforimport.
2023-03-11
- All texts including, option & group labels can now be provided in multiple languages. Added
localeandfallbackLocaleprops. - Added
searchFilterprop that allow to provide a custom search algorithm #313. - Added
allowAbsentoption to allow adding values that are not among the options. - Added
closeOnDeselectprop. - Deprecated
optionevent, addedcreateinstead (optionstill works). - Tags that added can also be disabled, which will prevent their removal.
- Fix for new option display when using
groups,createOptionandtags#254 #291. - String pointer equality #316.
- Disabled tags will not be removed on backspace #318.
- Added
.mjsextension build and referencedmoduleto that #290 #258. - The
selectAll()now does not select disabled options and does not duplicate already selected options.
2022-12-21
- Added
--ms-border-width-activeand--ms-border-color-activeCSS vars #213. - Added
@maxevent #269. - Added
clearOnBluroption #251.
- Removed
max-heightduplicate from default theme #240. - Norwegian chars fix #243.
- Trigger
@changeevent on updating external value #259. - Docs fix for 2.7 installation instructions #294.
- Docs fix fiddle url.
- Tags dropdown focus fix #286 #300.
- Stop propagation on tag remove click #295.
2022-11-21
- BREAKING: added a wrapper
divand related classes inside the main container next to the dropdown container. - Accessibility improvements.
- Don't select new tag on IME enter #226.
- Removed
v-htmlfrom option & single label for XSS security #278. - Arrow left should not throw error when not using tags #271.
2022-09-28
- Async options resolve fix #266.
2022-09-26
- Unnecessary ES6 feature removed.
2022-09-26
- A11y improvements.
2022-09-22
- A11y improvements.
2022-07-22
- Fix for
tailwind.css.
2022-07-11
- Vue
2.7compatibility.
2022-07-11
- Vue
2.7compatibility.
2022-05-31
- Hotfix for ES6 #235
2022-05-31
- Hotfix for SSR #235
2022-05-30
- 🎉 Added accessibility (a11y) support #22, #179.
- 🎉 Added infinite scroll #76, #165, #198.
- 🎉 Added RTL support #206.
- 🎉 Close on click if opened #162.
- Added
idto input when searchable. - Re-open input on arrows & search type if closed.
- Close dropdown instead of blur on select.
- Added
regexoption #138. - Scroll to first selected on open #168.
- Options are not reversed when
openPosition: true. - Added
reverseoption. - Added
searchStartoption #169. - Added
disabledPropoption #202. - Added
onCreateoption #204. - Added
select$as second param to events and async options. - Added
isSelected&isPointedtooptionslot scope #195.
- Headless UI conflict resolved #182.
- Keep selected options when async #228.
- Show spinner even when not active #223.
- Allow
falsevalue #222. - Resolve options on
minChars: 0too #230. - Added
keyup,keydownevents. - Resolved number tag creation duplicate bug.
- Input height fix when
searchablefor FF. - CSS: moved max height to dropdown container from wrapper.
- Vite & Nuxt 3 build warn fixes.).
2022-05-11
- Async options change detectiion.
- Label prop change detection.
- Option & label texts can contain HTML.
2022-02-26
- Added
attrsprop.
2022-02-06
- Removed
@applyfrom default theme.
2021-12-16
- Removed
exportsfrompackage.json#178.
2021-12-16
- Deprecated:
appendNewTag,createTag,addTagOnprops and@tagevent. - Added
appendNewOption,createOption,addOptionOnprops and@optionevent #150. - Added
selectAllmethod #172. - The
trackByprop now defaults tolabel#175. - Replaces focus on search when an option is selected #163.
- Added
<span>wrapper for single label withsingleLabelTextclass key #157.
- Don't show spinner when not active #156.
- Tailwind CSS 3 compatibility issue fix #176.
- Don't show caret when
showOptionsare disabled #173. - Resolved headless UI modal click issue #148.
- Resolved Tailwind CSS/form ring issue #135.
- Made classes reactive #126.
- The
addTagOnprop useskeyinstead ofkeyCodeinternally #125.
2021-11-23
- Added missing CSS vars.
2021-09-09
- 🎉🎉 Added
groupsand related props which allow groupping options. 🎉🎉 - Added
tailwind.scsstheme to use instead ofclassesif needed. - Added support for case sensitive tags when
createTagistrue#119. - Added
inputTypeprop #108, #116. - Added
@pasteevent #105. - Added
tabas option foraddTagOn#117. - Updated default
max-heightfor dropdown (to15rem).
- When
closeOnSelectistrueinsearchabletagsandmultiplemode the input now blurs upon selecting an option. - Fix for empty dropdown when async options are loading #115.
- Fixed dropdown auto-scrolling when using arrows.
2021-08-09
- Removed async/await.
2021-08-09
- Added
closeOnSelectprop.
2021-07-26
- BREAKING:
dropdownclass now hasdropdownHiddenwhen it is closed instead of usingv-show(requires using 2.1.0'sthemes/default.css) - BREAKING: removed
:maxHeightprop. Usevar(--ms-max-height)instead. - BREAKING: tags search layout has changed -> added a wrapper div and an extra span to calculate input width.
- Dropddown can be closed on caret click #88.
- Added
:strictprop to achieve accent-free search #82. - Removed inline styles, CSP compilance #84.
- Background images are now customizable via
background-color#85.
- Free typed tags fix #96.
- Tabindex becomes
-1when:disabled.
2021-06-27
- Classname fixes.
- Readme update.
2021-06-20
- BREAKING: Completely rewritten
<template>anddefault.css. - Caret is now always displayed when
caret: trueregardless if the multiselect has selected option(s). - Added
canDeselectandclassesprop. - Added
;and,options toaddTagOnprop.
2021-05-17
- Added native input support #48.
- Added
openDirectionprop #52. - Added
optionas second param forselectanddeselectevents. - Added
@clearevent #68.
- Clear icon CSS fix.
- Fixed unintendeed clear button showing up when
canDeselectisfalse#61.
2021-04-06
- BREAKING: array
optionsare no longer treated as objects, but both option value and label will equal to array item value. Eg.option: ['v1','v2']used to be equal to{0: 'v1', 1: 'v2'}, now they're equal to{v1: 'v1', v2: 'v2'}. - Optimized variable names for lower package size.
2021-04-06
- Async options fix for #39. Refreshing non-async options now will only be reflected after a tick.
- Added caret, remove and spinner slots.
2021-03-30
- Remove extra space when creating a tag with space (#46).
- Fixed issues around refreshing async options (#45).
- Android keyboard fix (#49 & #50).
- Added installation guide for Nuxt.js.
2021-03-20
- Fix for unintended side effect on space when using single mode (#42).
2021-03-13
- Recursion error when accessing
valueinside computedoptions(#39). - Set initial value when options are loaded later (#40).
2021-03-12
- Added
addTagOnthat can enableenterand/orspacekey to create a tag. - Added
requiredprop that renders a HTML5 required attribute on a fake input next to multiselect. - Added
showOptionsprop that hide options list if somebody wants to have only a free-type tag list.
2021-02-05
- Tags slots scope updated with
handleTagRemoveinstead ofremove.
2021-02-05
- Readme API fix.
2021-02-05
- Added Typescript definitions based on #20.
- Added Clear button for
multipleandtagsmode. - Added
placeholderslot. - Added proper
openandclosemethods. - Hide options when resolving with
clearOnSearchtrue. - Added
refreshOptionsmethod to refresh async options. - Added API docs.
- Added fix for #26. The value now can be set the same time that
optionschange. - Added fix for #28. Right mouse click no longer removes tag.
- Added fix for #29. Focus is no longer trapped to option list when using search.
2021-01-17
- Close open dropdown on input click
- Select first option after async search fix #18
- Update options when
:optionsproperty changes #16 #17
2021-01-12
- Added
:maxproperty
- Backspace issue fix #9
- Custom label issue fix #13
2020-12-29
v-modeldeep sync
2020-12-28
- Added
canDeselectoption
- Set internalValue on init when using async options with
:objecttrueandresolveOnLoadfalse
2020-12-23
- Changes in
v-modelwill sync with multiselect value
2020-12-23
- Options now can be disabled using an array of objects as options, with
disabledproperty being set totrue - The
valueproperty of an object option now can be customized with:valueProp
2020-12-19
- Breaking: Renamed slots to lowercase instead of camel case because of DOM issue
- Added
changeevent - Breaking: renamed
hideSelectedTagtohideSelected
2020-12-19
- Async/await eliminated from code thus reducing bundle size without runtimeRegenerator
- UMD bundle replaced with global
2020-12-19
- RuntimeRegenerator added to esm builds
2020-12-18
- Options now can be defined as a sync or async function. This opens up the capabilities to load options from remote data source and/or to implement autocomplete behaviour.