Skip to content

Commit 257f086

Browse files
Copilotrenemadsen
andcommitted
Fix mat-tab-group rendering by removing invalid child elements
- Removed debug divs that were direct children of mat-tab-group (invalid structure) - mat-tab-group only accepts mat-tab elements as children, not regular divs - Moved debug markers inside mat-tab elements where they're valid - This was preventing the entire tab group from rendering - Pink, lime, and blue debug boxes should now appear inside the General tab Co-authored-by: renemadsen <[email protected]>
1 parent 013c66f commit 257f086

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

eform-client/src/app/plugins/modules/time-planning-pn/components/plannings/time-planning-actions/assigned-site/assigned-site-dialog.component.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ <h3 style="background: yellow; padding: 10px; margin: 10px 0;">
1818
<mat-tab-group
1919
dynamicHeight="false"
2020
>
21-
<div style="background: pink; padding: 10px; color: black;">
22-
DEBUG: Inside mat-tab-group (before tabs)
23-
</div>
2421
<mat-tab label="{{'General' | translate }}" >
22+
<div style="background: pink; padding: 10px; color: black;">
23+
DEBUG: Pink - General tab is rendering
24+
</div>
2525
<div style="background: lime; padding: 10px; color: black;">
26-
DEBUG: Inside General mat-tab
26+
DEBUG: Lime - Inside General mat-tab content
2727
</div>
2828
<!-- DEBUG: General tab started -->
29-
<div id="debug-general-tab" style="background: lightblue; padding: 5px;">DEBUG: General Tab Content</div>
29+
<div id="debug-general-tab" style="background: lightblue; padding: 5px;">DEBUG: Blue - General Tab Content before component</div>
3030
<app-assigned-site-general-tab
3131
[data]="data"
3232
[assignedSiteForm]="assignedSiteForm"

0 commit comments

Comments
 (0)