Einträge von Mike Pichl

Using DataAnnotation in ASP.NET Core to add angular 4 validation attributes

What is the problem? The default validation attributes, added by ASP.NET Core, are not useful for angular. For Example the validation attribute for an min-length value in ASP.NET Core is data-val-minlength-min. In angular 4 the value is minlength. For a more precise distinction, here is an example: Default ASP.NET Core attributes for an minlength of 5. angular […]