1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 22:33:35 +00:00

[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
This commit is contained in:
Gbubemi Smith
2022-07-22 11:22:01 +01:00
committed by GitHub
parent 80ee6d23c3
commit 9fef1d21a4
2 changed files with 7 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ export class BitInputDirective {
].filter((s) => s != "");
}
@HostBinding() id = `bit-input-${nextId++}`;
@HostBinding() @Input() id = `bit-input-${nextId++}`;
@HostBinding("attr.aria-describedby") ariaDescribedBy: string;