mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-08 08:36:34 +02:00
Search floor equal to or greater to
This commit is contained in:
parent
1b8621b54e
commit
be3b574105
|
@ -1240,7 +1240,7 @@ class Choices {
|
|||
// Run callback if it is a function
|
||||
if (this.input === document.activeElement) {
|
||||
// Check that we have a value to search and the input was an alphanumeric character
|
||||
if (value && value.length > this.config.searchFloor) {
|
||||
if (value && value.length >= this.config.searchFloor) {
|
||||
// Check flag to filter search input
|
||||
if (this.config.searchChoices) {
|
||||
// Filter available choices
|
||||
|
|
Loading…
Reference in a new issue