According to the Bootstrap migration guide:
Renamed .has-error to .has-danger.
However, that doesn\'t seem to work. Border and t
Being that Bootstrap 4 is still in Beta, much of the migration documentation is not in sync with actual releases. Validation has changed in beta, and has-danger no longer exists.
has-danger
Also see: Can't make the validation work in Bootstrap 4