Zero indicates no limit.
Text.maxLength
int maxLength() @propertyGet maxLength property.
Returns
Maximum number of characters that are allowed.
void maxLength(int propval) @propertySet maxLength property.
Parameters
propval | Maximum number of characters that are allowed. Zero indicates no limit. |