code: public void setMax(final T pmax) {
      if (pmax == null) {
        getInputElement().removeAttribute("max");
      } else {
        getInputElement().setMax(this.numberRenderer.render(pmax));
      }
    }
docs: set maximum allowed value.
  
  @param pmax maximum value allowed