CollectionSearch now fires if the field is not empty
This commit is contained in:
parent
331bdb1a4b
commit
e4baaed1dd
|
@ -22,6 +22,11 @@
|
|||
|
||||
// Focus search input
|
||||
this.$searchInput.focus();
|
||||
|
||||
// Trigger search
|
||||
if (this.$searchInput.value !== '') {
|
||||
this.search(this.$searchInput.value);
|
||||
}
|
||||
};
|
||||
|
||||
CollectionSearchComponent.prototype.showItem = function(item) {
|
||||
|
|
Loading…
Reference in New Issue