Bootstrap MaxLength can help developers in two ways.
It can prevent high volumes of text data being entered inside a form, indirectly protecting the site against various hacking attempts.
It can also show a dynamic character counter right under the form entry field, letting the user know how much text can enter in the field at any point.
Various Bootstrap MaxLength features can be customized, starting from the CSS styles, to the character counter's position and (of course) the input limits themselves.
A demo is included with the download package. to help developers get started on their own implementations.
What is new in this release:
- Added new custom events: maxlength.reposition, maxlength.shown, maxlength.hidden.
- Buped up required jQuery to 1.9.x.
- Added option placement for custom placement handler.
- Extended message option. Now it can also be optionally a function.
What is new in version 1.6.0:
- Added new custom events: maxlength.reposition, maxlength.shown, maxlength.hidden.
- Buped up required jQuery to 1.9.x.
- Added option placement for custom placement handler.
- Extended message option. Now it can also be optionally a function.
What is new in version 1.5.7:
- Fixed:
- Error on resize event.
What is new in version 1.5.0:
- Removed window.resize event
- Maxlenght is created and destroyed each time
- Fixed Doesn't update the limit after input's maxlength attribute was changed
- Added Gruntfile
- Added qunit unit tests
Requirements:
- JavaScript enabled on client side
- Bootstrap
Comentários não encontrado