mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-15 20:25:18 +02:00
Quickfix
This commit is contained in:
parent
a5c7336bdb
commit
a4d60e7eec
|
@ -1391,6 +1391,7 @@ class Choices {
|
||||||
this._addItem(value);
|
this._addItem(value);
|
||||||
} else {
|
} else {
|
||||||
let isUnique;
|
let isUnique;
|
||||||
|
const duplicateItems = this.config.duplicateItems;
|
||||||
if (!duplicateItems) {
|
if (!duplicateItems) {
|
||||||
existingChoice = !this.store
|
existingChoice = !this.store
|
||||||
.getItems()
|
.getItems()
|
||||||
|
|
Loading…
Reference in a new issue