add maxLength/minLength && maxValue/minValue