In HTML, the maxlength attribute of a Textbox prevents user from typing texts greater than what is specified by maxlength attribute.

However, GXT's TextField.setMaxLength(...) method is used for max length validation only. It does not prevent user from typing texts greater than max length.

Is there any HTML maxlength equivalent attribute exist in GXT's TextField widget?

Thanks,
Majain