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