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:

https://jsfiddle.net/ula0spfm/

being bootstrap 4 still in beta, of migration documentation not in sync actual releases. validation has changed in beta, , has-danger no longer exists.

also see: can't make validation work in bootstrap 4


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -