Selaa lähdekoodia

fix: data source dropdown select

Torkel Ödegaard 8 vuotta sitten
vanhempi
commit
724368d0cd
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  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 => {
     this.inputElement.keydown(evt => {
       if (evt.keyCode === 13) {
       if (evt.keyCode === 13) {
-        this.inputElement.blur();
+        setTimeout(() => {
+          this.inputElement.blur();
+        }, 100);
       }
       }
     });
     });