Choices-js / Choices

A vanilla JS customisable select box/text input plugin ⚡️
https://choices-js.github.io/Choices/
MIT License
6.06k stars 598 forks source link

[BUGFIX] Fix selectbox issue #1081

Closed ousmorez closed 1 year ago

ousmorez commented 1 year ago

Description

It's going to solve following bug: https://github.com/Choices-js/Choices/issues/1080

Screenshots (if appropriate)

aa

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

ousmorez commented 1 year ago

@mtriff I have the same problem with checks as the old pull request, could you help me solve it please?

mtriff commented 1 year ago

That's unfortunate, we should have caught that in testing. Can you add an end-to-end test that fails when this happens?

Also, it looks like something odd is going on with this MR. I'm not seeing any new changes in the diff, only things from the last MR that have already been merged. Can you create a new fork off master and a new MR with the fix?

ousmorez commented 1 year ago

That's unfortunate, we should have caught that in testing. Can you add an end-to-end test that fails when this happens?

Also, it looks like something odd is going on with this MR. I'm not seeing any new changes in the diff, only things from the last MR that have already been merged. Can you create a new fork off master and a new MR with the fix?

Ok, i will do the changes. thx for answering.