Prevent droplab from opening dropdown by cleaning it
This commit is contained in:
parent
21d1d9b2c0
commit
0eb9f53715
|
@ -240,6 +240,10 @@
|
|||
if (e.keyCode === 13) {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
|
||||
// Prevent droplab from opening dropdown
|
||||
this.droplab.destroy();
|
||||
|
||||
this.search();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue