Skip to content

Releases: tomickigrzegorz/autocomplete

v2.0.2

14 Jun 22:35
4f385ad
Compare
Choose a tag to compare

Added

  • inline - this option displays all results without clicking on the input field #198

Changed

  • "showAllValues" changes name to "showAllValuesOnClick" this option will toggle showing all values when the input is clicked, like a default dropdown

v2.0.1

24 Mar 22:02
7812089
Compare
Choose a tag to compare

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

22 Mar 22:36
Compare
Choose a tag to compare

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

03 Oct 16:20
c875dd5
Compare
Choose a tag to compare

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

28 May 20:10
a51805c
Compare
Choose a tag to compare

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

14 May 18:35
946e613
Compare
Choose a tag to compare

Added

  • rerender() This method allows you to re-render the results without modifying the input field. If we pass text rerender(string); then we render the results again and also replace the text in the input field. rerender

v1.8.7

01 May 10:04
109bfa9
Compare
Choose a tag to compare

Added

  • add banner

Fixed

  • remove multiple mark items

Changed

  • update devDependencies

v1.8.6

10 Nov 19:34
860699e
Compare
Choose a tag to compare
  • clearButtonOnInitial A parameter set to true adds a button to remove text from the input field visible on initial Autocomplete - clear-button-on

v1.8.5

01 Jul 20:39
1f15a7d
Compare
Choose a tag to compare

Added

  • classPreventClosing now also works for all items as a result of searches not only in footer/header footer-header-example

v1.8.4

13 Apr 05:37
Compare
Choose a tag to compare

Fixed

  • Reloaded site on click on enter (#146)