function defaultItemsFormat(values) {
  return values.map((v, i) => {
    if (v) {
      return {value: v.y, title: i};
    }
  });
}
Format items by default.
@param {Array} values Array of values.
@returns {*} Formatted list of items.