code: function(value, attr, maxValue, model) {
          if (!isNumber(value) || value > maxValue) {
            return this.format(getMessageKey(this.msgKey, defaultMessages.max), this.formatLabel(attr, model), maxValue);
          }
        }
docs: Max validator Validates that the value has to be a number and equal to or less than the max value specified