Topic: Input - 'length' attribute

russ pro asked 6 years ago

Hi, I've been playing around with the 'character counter' by including the 'length' attribute on an input field: <div class="md-form"> <input id="input-char-counter" type="text" length="10"> <label for="input-char-counter">Input text</label> </div> However this doesn't validate on which suggests use of 'maxlength' instead.

Bartłomiej Malanowski staff commented 6 years ago

Thank you for letting us know! This will be fixed in the next version of MDB

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No