maxLength begins with 0 (not used)