I want to validate some fields in blazor I am not able to do it, plz help
Error message
System.InvalidOperationException: DataAnnotationsValidator requires a cascading parameter of type EditContext. For example, you can use DataAnnotationsValidator inside an EditForm. at Microsoft.AspNetCore.Components.Forms.DataAnnotationsValidator.OnInitialized() at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
<EditForm>not<form>. You should paste your code not an image of your code.