@tagplus/components 2.1.10 → 2.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "email": "bruno@tagplus.com.br"
9
9
  }
10
10
  ],
11
- "version": "2.1.10",
11
+ "version": "2.1.12",
12
12
  "main": "./dist/tp.common.js",
13
13
  "directories": {
14
14
  "lib": "src/lib"
@@ -525,7 +525,7 @@ export default {
525
525
  const formatItem = parseInt(item) ? parseInt(item) : item
526
526
  const formatSuggestion = parseInt(suggestion[this.valueKey]) ? parseInt(suggestion[this.valueKey]) : suggestion[this.valueKey]
527
527
 
528
- if (formatSuggestion === formatItem) {
528
+ if (formatSuggestion === formatItem && !this.selectedLabelsArray.includes(suggestion)) {
529
529
  this.selectedLabelsArray.push(suggestion)
530
530
  }
531
531
  })