From 8c57c82caa9d2db6068874e84e09c47a4690bd20 Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Wed, 2 Dec 2020 16:19:28 -0500 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20apply=20autofocus=20to?= =?UTF-8?q?=20origin=20and=20auth=20forms?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/desktop/app/templates/origin.hbs | 3 ++- .../app/templates/scopes/scope/authenticate/method.hbs | 3 ++- ui/desktop/package.json | 1 + yarn.lock | 10 +++++++++- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ui/desktop/app/templates/origin.hbs b/ui/desktop/app/templates/origin.hbs index 1421af91d..8fbae5380 100644 --- a/ui/desktop/app/templates/origin.hbs +++ b/ui/desktop/app/templates/origin.hbs @@ -15,7 +15,8 @@ @type="text" @value={{this.origin}} @label={{t "form.origin.label"}} - @helperText={{t "form.origin.description"}} /> + @helperText={{t "form.origin.description"}} + {{autofocus}} /> diff --git a/ui/desktop/app/templates/scopes/scope/authenticate/method.hbs b/ui/desktop/app/templates/scopes/scope/authenticate/method.hbs index 709c1f491..8cdf94c64 100644 --- a/ui/desktop/app/templates/scopes/scope/authenticate/method.hbs +++ b/ui/desktop/app/templates/scopes/scope/authenticate/method.hbs @@ -13,7 +13,8 @@ @name="identification" @type="text" @value={{this.identification}} - @label={{t "form.login_name.label"}} /> + @label={{t "form.login_name.label"}} + {{autofocus}} />