has-danger no longer working on Bootstrap v4 beta?

前端 未结 3 792
难免孤独
难免孤独 2020-12-10 03:44

According to the Bootstrap migration guide:

Renamed .has-error to .has-danger.

However, that doesn\'t seem to work. Border and t

3条回答
  •  眼角桃花
    2020-12-10 04:32

    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.

    Also see: Can't make the validation work in Bootstrap 4

提交回复
热议问题