Topic: Input - 'length' attribute

russ pro asked 5 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 https://validator.w3.org/ which suggests use of 'maxlength' instead.

Bartłomiej Malanowski staff commented 5 years ago

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


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

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