This plugin integrates form validation in AngularJS and Bootstrap 4 by extending form
and ng-model
directives.
It also provides a custom CSS file that removes default browser box-shadow from invalid form
controls in validated forms.
Use novalidate
html5 directive on form element if you want to disable
it's validation.
This plugin also provides a set of additional validators
and can be easily internationalized.
ng-model
directive
that are contained in
form
element.{formName}.resetValidation()
method.
'invalid-tooltip'
instead of 'invalid-feedback'
by using the
validate-mode
directive on form element.validateProvider
.
{validateDirective}-error-msg
.required-error-message="custom text"
or min-error-message="custom
text"
<input type="text" ng-model="..." validate-url/>
).validate-url
and validate-host
can also be added to an <textarea>
element and validate it contents line by line.value
parameter and
returns a
bool
results indicating it's validation status.
validateProvider
.dist/i18n/
directory to change
default (english) language.rounded-right
css class to the last non-feedback child element
of input-group.validateProvider
by setting inputGroupFix
to false
.