1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

[EC-1016][EC-1017][EC-1018] add validation to collection dialog (#4528)

* [EC-1016] add validation to collection dialog

* [EC-1017] add validation to members dialog

* [EC-1017] remove unused imports from members tab

* [EC-1017] move validator out of shared module

* [EC-1018] add validation to group modal
This commit is contained in:
Jake Fink
2023-01-25 11:03:09 -05:00
committed by GitHub
parent e3f1150fcb
commit d8689a20b5
10 changed files with 128 additions and 11 deletions

View File

@@ -32,6 +32,8 @@ export class BitErrorComponent {
return this.i18nService.t("inputMaxLength", this.error[1]?.requiredLength);
case "forbiddenCharacters":
return this.i18nService.t("inputForbiddenCharacters", this.error[1]?.characters.join(", "));
case "multipleEmails":
return this.i18nService.t("multipleInputEmails");
default:
// Attempt to show a custom error message.
if (this.error[1]?.message) {