Skip to content

Commit

Permalink
v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mynamesleon committed Nov 1, 2020
1 parent f67c37f commit 067e025
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

## [1.2.1] - 2020-11-01
## [1.2.2] - 2020-11-01

### Fixed

Expand Down Expand Up @@ -85,7 +85,7 @@ All notable changes to this project will be documented in this file.
- Issue when clicking on a single-select autocomplete with minLength of 0 with a current selection, which was correctly searching with an empty string, but the polling method was then triggering a search with the value afterwards.
- Screen reader announcements for results ignoring the number of results rendered

[1.2.1]: https://github.com/mynamesleon/aria-autocomplete/compare/v1.2.0...v1.2.1
[1.2.1]: https://github.com/mynamesleon/aria-autocomplete/compare/v1.2.0...v1.2.2
[1.2.0]: https://github.com/mynamesleon/aria-autocomplete/compare/v1.1.4...v1.2.0
[1.1.4]: https://github.com/mynamesleon/aria-autocomplete/compare/v1.1.3...v1.1.4
[1.1.3]: https://github.com/mynamesleon/aria-autocomplete/compare/v1.1.2...v1.1.3
Expand Down
2 changes: 1 addition & 1 deletion dist/aria-autocomplete.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aria-autocomplete",
"version": "1.2.1",
"version": "1.2.2",
"description": "Accessible, extensible, JavaScript autocomplete with multi-select",
"main": "dist/aria-autocomplete.min.js",
"style": "dist/aria-autocomplete.css",
Expand Down
5 changes: 2 additions & 3 deletions src/autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -711,9 +711,8 @@ export default class Autocomplete {
!create ||
!option ||
!option.value ||
!sourceFromSelect ||
!sourceFromCheckboxList ||
!Array.isArray(this.source)
!Array.isArray(this.source) ||
!(sourceFromSelect || sourceFromCheckboxList)
) {
return;
}
Expand Down

0 comments on commit 067e025

Please sign in to comment.