mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-29 20:12:33 +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
|
// Run callback if it is a function
|
||||||
if (this.input === document.activeElement) {
|
if (this.input === document.activeElement) {
|
||||||
// Check that we have a value to search and the input was an alphanumeric character
|
// 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
|
// Check flag to filter search input
|
||||||
if (this.config.searchChoices) {
|
if (this.config.searchChoices) {
|
||||||
// Filter available choices
|
// Filter available choices
|
||||||
|
|
Loading…
Reference in a new issue