code: function _updateInputValues(autocomplete) {
      var item = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  
      var input = this.UI.getInput(autocomplete);
  
      if (item !== false) {
        var val = this.UI.getItemLabel(item);
        input.value = val;
        autocomplete.__bunny_autocomplete_initial_value = val;
      } else {
        if (this.isCustomValueAllowed(autocomplete)) {
          autocomplete.__bunny_autocomplete_initial_value = input.value;
        } else {
          input.value = '';
          autocomplete.__bunny_autocomplete_initial_value = '';
        }
      }
  
      var hiddenInput = this.UI.getHiddenInput(autocomplete);
      if (hiddenInput) {
        if (item !== false) {
          hiddenInput.value = this.UI.getItemValue(item);
        } else {
          if (this.isCustomValueAllowed(autocomplete)) {
            hiddenInput.value = input.value;
          } else {
            hiddenInput.value = '';
          }
        }
      }
  
      var tplLabel = this.UI.getTemplateSelectLabel(autocomplete);
      if (tplLabel) {
        tplLabel.innerHTML = item === false ? '' : item.innerHTML;
      }
  
      autocomplete.__bunny_autocomplete_state = this.getCurState(autocomplete);
    }
docs: private methods