fixed maxLength property