From d82c7d5c7581d3b21421223a529bd0e581f15d2b Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Mon, 30 Dec 2019 14:27:46 +0300 Subject: [PATCH] feat(core): add autocomplete attiributes added autocomplete attiribute to username and password inputs for chromium based browsers --- .../lib/components/login/login.component.html | 20 +++++++++++-- .../register/register.component.html | 30 ++++++++++++++++--- 2 files changed, 43 insertions(+), 7 deletions(-) diff --git a/npm/ng-packs/packages/account/src/lib/components/login/login.component.html b/npm/ng-packs/packages/account/src/lib/components/login/login.component.html index 130b013d55..db4e7e9f45 100644 --- a/npm/ng-packs/packages/account/src/lib/components/login/login.component.html +++ b/npm/ng-packs/packages/account/src/lib/components/login/login.component.html @@ -3,7 +3,9 @@

{{ 'AbpAccount::Login' | abpLocalization }}

{{ 'AbpAccount::AreYouANewUser' | abpLocalization }} - {{ 'AbpAccount::Register' | abpLocalization }} + {{ + 'AbpAccount::Register' | abpLocalization + }}
@@ -15,16 +17,28 @@ type="text" id="login-input-user-name-or-email-address" formControlName="username" + autocomplete="username" autofocus />
- +
diff --git a/npm/ng-packs/packages/account/src/lib/components/register/register.component.html b/npm/ng-packs/packages/account/src/lib/components/register/register.component.html index 41d619a16a..eebd20cdde 100644 --- a/npm/ng-packs/packages/account/src/lib/components/register/register.component.html +++ b/npm/ng-packs/packages/account/src/lib/components/register/register.component.html @@ -3,21 +3,43 @@

{{ 'AbpAccount::Register' | abpLocalization }}

{{ 'AbpAccount::AlreadyRegistered' | abpLocalization }} - {{ 'AbpAccount::Login' | abpLocalization }} + {{ + 'AbpAccount::Login' | abpLocalization + }}
* + >
* + > *
* + > *