using System.ComponentModel.DataAnnotations;namespace BlazorServerMessageWall.Models;public class MessageModel{ [Required] [StringLength(10, MinimumLength = 5)] public string Message { get; set; }}
using System.ComponentModel.DataAnnotations;namespace BlazorServerMessageWall.Models;public class MessageModel{ [Required] [StringLength(10, MinimumLength = 5)] public string Message { get; set; }}
When I fire up the application, and enter a valid entry (eg; "hello", "123456") I get the attached image [posted below]. Really baffled here, read through the documentation. What am I doing incorrectly?