This commit is contained in:
Stéphane Trébel 2016-12-14 13:17:38 +01:00 committed by Josh Johnson
parent 934103a6d7
commit 10af1f4104
4 changed files with 10 additions and 2 deletions

View file

@ -1681,7 +1681,7 @@ return /******/ (function(modules) { // webpackBootstrap
if (_this17.isTextElement) {
_this17._addItem(value);
} else {
var isUnique = void 0;
var existingChoice = void 0;
var duplicateItems = _this17.config.duplicateItems;
if (!duplicateItems) {
existingChoice = !_this17.store.getItems().filter(function (item) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1390,7 +1390,7 @@ class Choices {
if (this.isTextElement) {
this._addItem(value);
} else {
let isUnique;
let existingChoice;
const duplicateItems = this.config.duplicateItems;
if (!duplicateItems) {
existingChoice = !this.store