This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Description
<div asp-validation-summary="ValidationSummary.ModelOnly" class="alert alert-danger alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4>Oops! Looks like there were some errors.</h4>
</div>
If I use the validation summary tag helper with custom code, this get renders even when there's no error. I think validation summary should support (or always behave) like don't render anything if there's no error something like. <div as-validation-summary-visible="Always|OnError">