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