@symphony-talent/component-library 3.48.0 → 3.48.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1357,7 +1357,7 @@ class InputChipsComponent {
1357
1357
  validateEmail(form) {
1358
1358
  let errorCount = form.get(this.controlErrorCount).value;
1359
1359
  let control = this.form.controls[this.controlName];
1360
- const REGEXP = new RegExp('^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$');
1360
+ const REGEXP = new RegExp('^[a-zA-Z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$');
1361
1361
  for (let i = 0; i < control.value.length; i++) {
1362
1362
  if (!REGEXP.test(control.value[i].value)) {
1363
1363
  errorCount = errorCount + 1;
@@ -1396,7 +1396,7 @@ class EmailValidator {
1396
1396
  static createValidator(form, controlErrorCount) {
1397
1397
  return (control) => {
1398
1398
  let errorCount = form.get(controlErrorCount).value;
1399
- const REGEXP = new RegExp('^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$');
1399
+ const REGEXP = new RegExp('^[a-zA-Z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$');
1400
1400
  for (let i = 0; i < control.value.length; i++) {
1401
1401
  if (!REGEXP.test(control.value[i].value)) {
1402
1402
  errorCount = errorCount + 1;