juunas11 / aspnetcore-security-headers

Middleware for adding security headers to an ASP.NET Core application.
MIT License
264 stars 42 forks source link

<div asp-validation-summary="All" ></div> #52

Closed V4A001 closed 3 years ago

V4A001 commented 3 years ago

Any idea on fixing the style in <div asp-validation-summary="All" class="text-danger"></div>

V4A001 commented 3 years ago

This seems to work: ` @if (!ViewData.ModelState.IsValid) {

                }`
juunas11 commented 3 years ago

I'm not sure what this has to do with this security headers library? That looks like a question that might be better answered on Stack Overflow.