mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-08 00:42:15 +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,12 +975,12 @@ export class Choices {
|
||||||
this.hideDropdown();
|
this.hideDropdown();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
// If we have enabled text search
|
||||||
|
if(this.canSearch) {
|
||||||
|
this._searchChoices(this.input.value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we have enabled text search
|
|
||||||
if(this.canSearch) {
|
|
||||||
this._searchChoices(this.input.value);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue