Add Max Length attribute.

Add Max Length attribute.