Skip to content

Commit 56a474b

Browse files
author
Prakash
committed

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ public class Message
99

1010
[Required]
1111
[DataType(DataType.Text)]
12-
[StringLength(200, ErrorMessage = "There's a 200 character limit on messages. Please shorten your message.")]
12+
// Add a 250 character limit to the message
13+
[StringLength(250, ErrorMessage = "There's a 250 character limit on messages. Please shorten your message.")]
1314
public string Text { get; set; }
1415
}
1516
#endregion

0 commit comments

Comments
 (0)