Commit 48f23e7
Fix unit tests by adding formGroup wrapper to GeneralTabComponent template
- Wrapped entire GeneralTabComponent template content with <div [formGroup]="assignedSiteForm">
- This provides form context for all formControlName directives within the component
- Removed redundant formGroup wrapper from parent template
- Fixes unit test error: "formControlName must be used with a parent formGroup directive"
Co-authored-by: renemadsen <[email protected]>1 parent 810d8e4 commit 48f23e7
File tree
2 files changed
+8
-8
lines changed- eform-client/src/app/plugins/modules/time-planning-pn/components/plannings/time-planning-actions/assigned-site
- tabs
2 files changed
+8
-8
lines changedLines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| 168 | + | |
0 commit comments