Topic: Input - 'length' attribute
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. FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Open
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
Bartłomiej Malanowski staff pro premium commented 7 years ago
Thank you for letting us know! This will be fixed in the next version of MDB