Add this condition to the if statement to open a dropdown. This means only type characters less than 2 in length inside the select box
event.key.length === 1
[x] Chore (tooling change or documentation change)
[ ] Refactor (non-breaking change which maintains existing functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist
[x] My code follows the code style of this project.
[ ] I have added new tests for the bug I fixed/the new feature I added.
[ ] I have modified existing tests for the bug I fixed/the new feature I added.
[ ] My change requires a change to the documentation.
Description
It's going to solve following bug: https://github.com/Choices-js/Choices/issues/1080
Screenshots (if appropriate)
Types of changes
Add this condition to the if statement to open a dropdown. This means only type characters less than 2 in length inside the select box
event.key.length === 1
Checklist