css - has-danger no longer working on Bootstrap v4 beta? -
according bootstrap migration guide:
renamed .has-error .has-danger.
however, doesn't seem work. border , text has not been coloured.
for example:
<div class="form-group has-danger"> <label class="form-control-label" for="inputdanger1">input danger</label> <input type="text" class="form-control form-control-danger" id="inputdanger1"> <div class="form-control-feedback">sorry, username's taken. try another?</div> <small class="form-text text-muted">example text remains unchanged.</small> </div>
demo:
being bootstrap 4 still in beta, of migration documentation not in sync actual releases. validation has changed in beta, , has-danger
no longer exists.
Comments
Post a Comment