Explorar o código

fix: data source dropdown select

Torkel Ödegaard %!s(int64=8) %!d(string=hai) anos
pai
achega
724368d0cd
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      public/app/core/components/form_dropdown/form_dropdown.ts

+ 3 - 1
public/app/core/components/form_dropdown/form_dropdown.ts

@@ -72,7 +72,9 @@ export class FormDropdownCtrl {
 
     this.inputElement.keydown(evt => {
       if (evt.keyCode === 13) {
-        this.inputElement.blur();
+        setTimeout(() => {
+          this.inputElement.blur();
+        }, 100);
       }
     });