code: function getInputGroup(input) {
          var el = input;
          while ((el = el.parentNode) && !el.classList.contains(this.config.classInputGroup)) {}
          return el;
      }
docs: Find closest parent inputGroup element by Input element
  
  @param {HTMLElement} input
  
  @returns {HTMLElement}