@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.
@@ -1356,7 +1356,7 @@ class InputChipsComponent {
1356
1356
  validateEmail(form) {
1357
1357
  let errorCount = form.get(this.controlErrorCount).value;
1358
1358
  let control = this.form.controls[this.controlName];
1359
- const REGEXP = new RegExp('^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$');
1359
+ const REGEXP = new RegExp('^[a-zA-Z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$');
1360
1360
  for (let i = 0; i < control.value.length; i++) {
1361
1361
  if (!REGEXP.test(control.value[i].value)) {
1362
1362
  errorCount = errorCount + 1;
@@ -1395,7 +1395,7 @@ class EmailValidator {
1395
1395
  static createValidator(form, controlErrorCount) {
1396
1396
  return (control) => {
1397
1397
  let errorCount = form.get(controlErrorCount).value;
1398
- const REGEXP = new RegExp('^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$');
1398
+ const REGEXP = new RegExp('^[a-zA-Z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$');
1399
1399
  for (let i = 0; i < control.value.length; i++) {
1400
1400
  if (!REGEXP.test(control.value[i].value)) {
1401
1401
  errorCount = errorCount + 1;