From 65420f3f1765ba1c33a7cd60024531d59c2c5adf Mon Sep 17 00:00:00 2001 From: alexberazouski Date: Wed, 5 Dec 2018 15:57:03 +0200 Subject: [PATCH] Disable component before fire any event (#42) --- src/vaadin-login.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/vaadin-login.html b/src/vaadin-login.html index bc07d67..a15165e 100644 --- a/src/vaadin-login.html +++ b/src/vaadin-login.html @@ -133,6 +133,7 @@
[[i18n.errorMessage.title]]
} this.error = false; + this.disabled = true; if (this.action == null) { const eventDetails = { bubbles: true, @@ -146,8 +147,6 @@
[[i18n.errorMessage.title]]
} else { this.$.loginForm.submit(); } - - this.disabled = true; } _forgotPassword() {