docs: function shouldAddCurrentValue ({items, valueRecord, labelAttribute, valueAttribute, filter}) {
    const filterRegex = new RegExp(filter, 'i')
    const valueRecordMatchesFilter = filterRegex.test(valueRecord.get(labelAttribute))
    const itemsContainsValueRecord = items.find(item => item.value === valueRecord.get(valueAttribute))
    return valueRecordMatchesFilter && !itemsContainsValueRecord
  }