|
@@ -2,6 +2,8 @@
|
|
// TESTS: Repeating Single Fields (i.e. fields not part of a repeating container group)
|
|
// TESTS: Repeating Single Fields (i.e. fields not part of a repeating container group)
|
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
+import { Validators } from '@angular/forms';
|
|
|
|
+
|
|
const model = {};
|
|
const model = {};
|
|
|
|
|
|
const meta = {
|
|
const meta = {
|
|
@@ -12,7 +14,8 @@ const meta = {
|
|
maxRepeat: 5,
|
|
maxRepeat: 5,
|
|
initialRepeat: 3,
|
|
initialRepeat: 3,
|
|
showAddControl: true,
|
|
showAddControl: true,
|
|
- showDeleteControl: true
|
|
|
|
|
|
+ showDeleteControl: true,
|
|
|
|
+ validators: Validators.email
|
|
}
|
|
}
|
|
};
|
|
};
|
|
|
|
|