6 references to CurrentEditContext
Microsoft.AspNetCore.Components.Forms (6)
DataAnnotationsValidator.cs (6)
29if (CurrentEditContext == null) 36_subscriptions = CurrentEditContext.EnableDataAnnotationsValidation(ServiceProvider); 37_originalEditContext = CurrentEditContext; 41CurrentEditContext.Properties[typeof(DataAnnotationsValidator)] = true; 48if (CurrentEditContext != _originalEditContext) 70CurrentEditContext?.Properties.Remove(typeof(DataAnnotationsValidator));