# Microsoft.AspNetCore.Components.Forms

``` diff
 namespace Microsoft.AspNetCore.Components.Forms {
     public static class EditContextDataAnnotationsExtensions {
+        public static IDisposable EnableDataAnnotationsValidation(this EditContext editContext, IServiceProvider serviceProvider);
     }
 }
```

