Releases: tomickigrzegorz/autocomplete
Releases · tomickigrzegorz/autocomplete
v2.0.2
v2.0.1
Fixed
- No arias set by default. They are set only when we perform a search on the input field.
- "aria-posinset" is set from 0 and should be from 1
v2.0.0
Added
- removeResultsWhenInputIsEmpty - the parameter deletes the results. We use the destroy() method which removes the results from the DOM and returns everything to its original state.
- regex - the parameter allows you modify string before search. For example, we can remove special characters from the string. Default value is object
{ expression: /[|\\{}()[\]^$+*?]/g, replacement: "\\$&" }
v1.9.0
Added
preventScrollUp
- the parameter has been extended in such a way that the selected item (gray rows) is still visible after reopening the results - prevent-scroll-up-example
v1.8.9
Added
preventScrollUp
- parameter prevents the results from scrolling up when we have scrolling. It also works when we click a second time when we have results. The results are shown in the same place prevent scroll up
v1.8.8
v1.8.7
Added
- add banner
Fixed
- remove multiple mark items
Changed
- update devDependencies
v1.8.6
clearButtonOnInitial
A parameter set totrue
adds a button to remove text from the input field visible on initial Autocomplete - clear-button-on
v1.8.5
Added
classPreventClosing
now also works for all items as a result of searches not only in footer/header footer-header-example