From 9fef1d21a437351be98a85ee15b8a42d03c38c9f Mon Sep 17 00:00:00 2001 From: Gbubemi Smith Date: Fri, 22 Jul 2022 11:22:01 +0100 Subject: [PATCH] [SG-430] Modify registration component to use static ids (#3144) * refactored form to use static ids * renamed ids to meet standard * renamed ids to meet standard * renamed ids to meet standard --- .../modules/register-form/register-form.component.html | 9 ++++++--- libs/components/src/input/input.directive.ts | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/web/src/app/modules/register-form/register-form.component.html b/apps/web/src/app/modules/register-form/register-form.component.html index b4f2877ef1..21d5772677 100644 --- a/apps/web/src/app/modules/register-form/register-form.component.html +++ b/apps/web/src/app/modules/register-form/register-form.component.html @@ -9,7 +9,7 @@
{{ "emailAddress" | i18n }} - + {{ "emailAddressDesc" | i18n }}
@@ -17,7 +17,7 @@
{{ "name" | i18n }} - + {{ "yourNameDesc" | i18n }}
@@ -32,6 +32,7 @@ {{ "masterPass" | i18n }} {{ "reTypeMasterPass" | i18n }} {{ "masterPassHint" | i18n }} - + {{ "masterPassHintDesc" | i18n }} @@ -86,6 +88,7 @@
s != ""); } - @HostBinding() id = `bit-input-${nextId++}`; + @HostBinding() @Input() id = `bit-input-${nextId++}`; @HostBinding("attr.aria-describedby") ariaDescribedBy: string;