@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.
- package/esm2020/lib/atoms/input-chips/input-chips.component.mjs +3 -3
- package/esm2020/projects/component-library/lib/atoms/input-chips/input-chips.component.mjs +3 -3
- package/fesm2015/symphony-talent-component-library-projects-component-library.mjs +2 -2
- package/fesm2015/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
- package/fesm2015/symphony-talent-component-library.mjs +2 -2
- package/fesm2015/symphony-talent-component-library.mjs.map +1 -1
- package/fesm2020/symphony-talent-component-library-projects-component-library.mjs +2 -2
- package/fesm2020/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
- package/fesm2020/symphony-talent-component-library.mjs +2 -2
- package/fesm2020/symphony-talent-component-library.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
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-
|
|
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;
|