Skip to content

Commit 36f5d32

Browse files
committed
Update error message for message length validation to reflect correct limit
1 parent 5099c7b commit 36f5d32

File tree

1 file changed

+1
-1
lines changed
  • src/Application/src/RazorPagesTestSample/Data

1 file changed

+1
-1
lines changed

src/Application/src/RazorPagesTestSample/Data/Message.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class Message
2121
/// </exception>
2222
/// /// /// /// /// /// /// /// /// /// /// /// [Required]
2323
[DataType(DataType.Text)]
24-
[StringLength(250, ErrorMessage = "There's a 200 character limit on messages. Please shorten your message.")]
24+
[StringLength(250, ErrorMessage = "There's a 250 character limit on messages. Please shorten your message.")]
2525
public string Text { get; set; }
2626
}
2727
#endregion

0 commit comments

Comments
 (0)