Skip to content

Commit 058ff5f

Browse files
committed
Wrong error property accessed by GetMaximumLength()
1 parent 95782b2 commit 058ff5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TranslationErrorSection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public string GetMinimumLength()
3838

3939
public string GetMaximumLength()
4040
{
41-
return GetValueOrDefault(MaximumItems, DefaultJsonFormValidationMessages.MaxLength);
41+
return GetValueOrDefault(MaximumLength, DefaultJsonFormValidationMessages.MaxLength);
4242
}
4343

4444
public string GetMinimumItems()

0 commit comments

Comments
 (0)