Skip to content

Commit b449641

Browse files
committed
Refactor validation error message for message length limit
1 parent 8e1a0ab commit b449641

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
@@ -20,7 +20,7 @@ public class Message
2020
/// </remarks>
2121
[Required]
2222
[DataType(DataType.Text)]
23-
[StringLength(250, ErrorMessage = "There's a 250 character limit on messages. Please shorten your messages.")]
23+
[StringLength(250, ErrorMessage = "There's a 250 character limit on messages. Please shorten your message.")]
2424
public string Text { get; set; }
2525
}
2626

0 commit comments

Comments
 (0)