Added maxLength support for TextBox