mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-07 16:32:32 +02:00
Only search filter for non-text inputs
This commit is contained in:
parent
5caa5e4684
commit
b17c3a1289
4
assets/scripts/dist/choices.min.js
vendored
4
assets/scripts/dist/choices.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -975,11 +975,11 @@ export class Choices {
|
|||
this.hideDropdown();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// If we have enabled text search
|
||||
if(this.canSearch) {
|
||||
this._searchChoices(this.input.value);
|
||||
} else {
|
||||
// If we have enabled text search
|
||||
if(this.canSearch) {
|
||||
this._searchChoices(this.input.value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue