Add minLength and maxLength to documentation