diff --git a/src/Components/Web/src/Forms/HtmlFieldPrefix.cs b/src/Components/Web/src/Forms/HtmlFieldPrefix.cs index 73138d57f870..2397c8ef4948 100644 --- a/src/Components/Web/src/Forms/HtmlFieldPrefix.cs +++ b/src/Components/Web/src/Forms/HtmlFieldPrefix.cs @@ -20,7 +20,7 @@ public HtmlFieldPrefix Combine(LambdaExpression other) var restLength = _rest?.Length ?? 0; var length = restLength + 1; var expressions = new LambdaExpression[length]; - for (var i = 0; i < restLength - 1; i++) + for (var i = 0; i < restLength; i++) { expressions[i] = _rest![i]; }