Namespace XploRe.AspNetCore.Mvc.TagHelpers.Bootstrap4
Classes
ValidationHelper
Augments tags with bootstrap validation classes and messages if validation failed for the model field
identified by the expression in the attribute bs-validation-for
.
For controls (input, textarea and select tags), the form-control
and form-control-danger
classes are added.
If the tag has a form-group
class set, the has-danger
class is added. Otherwise, the
form-control-feedback
class is added and the tag content is set to the corresponding validation error
message.