Commit c34ea5e
Warn when x-for template has multiple root elements
x-for silently discards all but the first child element of a template.
This adds a console.warn so users know what's happening instead of
debugging invisible behavior.
Co-Authored-By: NFSL2001 <NightFurySL2001@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent b357068 commit c34ea5e
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
114 | 117 | | |
115 | 118 | | |
116 | 119 | | |
| |||
0 commit comments