Commit f334cb4
committed
Fix: Prevent null formKey being passed to LabelTag
LabelTag constructor requires string type for $for parameter
Added null check to generate unique ID when formKey is null
Fixes TypeError when FormGroup is created with null label and content without tag ID1 parent 402758b commit f334cb4
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
| |||
0 commit comments