Experimental: this API is experimental and might be changed or removed in the future.

TextField.maxLength

Switch to Manual
public int maxLength ;

Description

The maximum number of characters this textfield can hold. If 0, there is no limit.