updateValueOnPreview(item) {
      const noPreview = item.type === "Inactive" || item.groupItem;
      const itemValue = noPreview ? this.valueBeforeItemPreview : item.effectiveTitle || item.textContent || "";
      this.value = itemValue;
      this._performTextSelection = true;
    }
Updates the input value on item preview.
@param {Object} item The item that is on preview