I'm getting the EditContext
from CascadingParameter
[CascadingParameter]
public EditContext EditContext { get; set; }
And I realized that exists a .Validate
method, that validates the entire Model
of EditForm
.
But I want to validate only one field of the Model
.
Who can I validate only one field of the Model
from EditForm
?
If you are wondering why I want this... Is because I'm making a custom component that when the value changes and it's a valid value, it will do something.