Prevent droplab from opening dropdown by cleaning it

This commit is contained in:
Clement Ho 2016-12-09 15:20:41 -06:00
parent 21d1d9b2c0
commit 0eb9f53715
1 changed files with 4 additions and 0 deletions

View File

@ -240,6 +240,10 @@
if (e.keyCode === 13) {
e.stopPropagation();
e.preventDefault();
// Prevent droplab from opening dropdown
this.droplab.destroy();
this.search();
}
}