Commit 0eb9f537 authored by Clement Ho's avatar Clement Ho

Prevent droplab from opening dropdown by cleaning it

parent 21d1d9b2
...@@ -240,6 +240,10 @@ ...@@ -240,6 +240,10 @@
if (e.keyCode === 13) { if (e.keyCode === 13) {
e.stopPropagation(); e.stopPropagation();
e.preventDefault(); e.preventDefault();
// Prevent droplab from opening dropdown
this.droplab.destroy();
this.search(); this.search();
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment