Skip to content

Commit de8c908

Browse files
sgarnovskycaptainsafia
authored andcommitted
[Blazor] Update HtmlFieldPrefix.cs (#58888)
This a fix for nested Editor<T> described in this issue: #53956
1 parent 96e10a4 commit de8c908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/Web/src/Forms/HtmlFieldPrefix.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public HtmlFieldPrefix Combine(LambdaExpression other)
2020
var restLength = _rest?.Length ?? 0;
2121
var length = restLength + 1;
2222
var expressions = new LambdaExpression[length];
23-
for (var i = 0; i < restLength - 1; i++)
23+
for (var i = 0; i < restLength; i++)
2424
{
2525
expressions[i] = _rest![i];
2626
}

0 commit comments

Comments
 (0)