Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Add MaxLength#5

Open
HEDev wants to merge 2 commits into
AirConsole:masterfrom
HEDev:master
Open

Add MaxLength#5
HEDev wants to merge 2 commits into
AirConsole:masterfrom
HEDev:master

Conversation

@HEDev
Copy link
Copy Markdown

@HEDev HEDev commented Jan 26, 2018

Allow developers to limit user input gracefully

HEDev added 2 commits January 25, 2018 20:49
Added quick test for max length, on and off. 
Added character count to assist with testing max length.
Added ability to set input MaxLength.
When MaxLength is not 0, MaxLength is enabled.
When input character count is greater than the MaxLength setting, the onMaxLength trigger is fired and the input is ignored.

Very useful when wanting to gracefully limit users input length.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant