@tagplus/components 2.1.12 → 2.1.14
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/dist/tp.common.js +1 -1
- package/dist/tp.common.js.map +1 -1
- package/dist/tp.css +1 -1
- package/dist/tp.umd.js +1 -1
- package/dist/tp.umd.js.map +1 -1
- package/dist/tp.umd.min.js +1 -1
- package/dist/tp.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Multisuggest/Multisuggest.vue +2 -4
package/package.json
CHANGED
|
@@ -522,10 +522,8 @@ export default {
|
|
|
522
522
|
if (Array.isArray(this.value)) {
|
|
523
523
|
this.value.forEach((item, key) => {
|
|
524
524
|
this.suggestionsList.forEach(suggestion => {
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
if (formatSuggestion === formatItem && !this.selectedLabelsArray.includes(suggestion)) {
|
|
525
|
+
// Valida se o item passado e o suggest são iguais e se a label ja nao foi adicionada
|
|
526
|
+
if (item === suggestion[this.valueKey] && !this.selectedLabelsArray.includes(suggestion)) {
|
|
529
527
|
this.selectedLabelsArray.push(suggestion)
|
|
530
528
|
}
|
|
531
529
|
})
|