@@include('./layouts/head.html') @@include('./layouts/head-bottom-link.html') @@include('./layouts/main.html')
bootstrap Maxlength
Add class of .form-control with <input> tag
Default

The badge will show up by default when the remaining chars are 10 or less:

Threshold

Do you want the badge to show up when there are 20 chars or less? Use the threshold option:

Color-Lables

Just add color-classwith input

Play with Positions

All you need to do is specify the placement option, with one of those strings. If none is specified, the positioning will be defauted to 'top-right'.

Also Working with Textarea

Bootstrap maxlength supports textarea as well as inputs. Even on old IE.

@@include('./layouts/footer.html') @@include('./layouts/footer-bottom-link.html')