We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65d3cec commit a5381c8Copy full SHA for a5381c8
src/input-tags.component.js
@@ -37,8 +37,8 @@ class InputTags {
37
const tagText = this.getTagText(tag);
38
const key = this.keyProperty || this.displayProperty;
39
const valid = tagText &&
40
- tagText.length >= this.minLength &&
41
- tagText.length <= this.maxLength &&
+ this.tags.length >= this.minLength &&
+ this.tags.length <= this.maxLength &&
42
!this.tags.some(element => element[key] === tag[key]);
43
44
if (this.onTagAdding) {
0 commit comments