- Fixed class and style attributes not rendered on root tag to preserve Vue 2.x
inheritAttrs
behaviour
- Fixed github release action
- Updated storybook to v8.0. Updated stories to new format.
- Updated dev dependencies
- BREAKING: Updated node.js version to 18 (newer versions untested)
- BREAKING: Updated vue component for Vue.js 3.x
- Prevent default action (i. e. form submit) when selecting an entry from result list with Enter while
submitOnEnter: false
(dpxgit, @dpxgit)
- Added
submitOnEnter
option to control whether or not results should be submitted immediately after selecting them by pressing Enter (dpxgit, @dpxgit)
- Added
resultListLabel
option to providearia-label
oraria-labelledby
attribute for result list (dpxgit, @dpxgit)
- Added
resultListLabel
prop to providearia-label
oraria-labelledby
attribute for result list (dpxgit, @dpxgit)
- Fixed W3C validation error regarding the attribute
autocorrect
by changing it to be optional (dpxgit, @dpxgit)
- Added
update
event when the results list is updated (Ben Roth, @ben-roth-)
- Added
onUpdate
event when the results list is updated (Ben Roth, @ben-roth-)
- Updated storybook to v5.3. Updated stories to new format.
- Updated dev dependencies
- Added debounceTime prop for async search functions (Justin, @jssouders)
- Fix: Reverted back to autocomplete="off" to disable browser auto-fill
- Documentation: Fixed some typos (Tadeusz Stępnikowski, @versedi)
- Documentation: Updated slot syntax in Vue examples
- Fix: Set autocomplete attribute to "disabled-autocomplete" to disable auto-fill in Chrome (Iago Leão, @iagoleao)
- Fix: Include extra attributes in
inputProps
when using default slot
- Fix: Compute
aria-activedescendant
attribute properly
- BREAKING: Changed default class for results list from
autocomplete-results
toautocomplete-result-list
- BREAKING: Changed default ID for results list from
autocomplete-results-{id}
toautocomplete-result-list-{id}
- BREAKING: Call
search
function on focus
- BREAKING: Updated default slot to control template for entire component
- BREAKING: Added new slot called
result
to control template for a single result item - BREAKING: Removed
onSubmit
prop to use customsubmit
event instead
- BREAKING: Removed
renderResults
option and replaced withrenderResult
, which can be used to control rendering of a single result item. This function can return either a DOM element or an HTML string.
- Fix: Added support for input events
- Updated internal tooling
Initial release