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.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
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