@tagplus/components 1.2.8 → 1.2.11
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 +4 -5
package/package.json
CHANGED
|
@@ -475,12 +475,11 @@ export default {
|
|
|
475
475
|
|
|
476
476
|
if (Array.isArray(this.value)) {
|
|
477
477
|
this.value.forEach((item, key) => {
|
|
478
|
-
|
|
479
|
-
this.
|
|
480
|
-
|
|
481
|
-
this.selectedLabelsArray.push(item)
|
|
478
|
+
this.suggestionsList.forEach(suggestion => {
|
|
479
|
+
if (suggestion[this.valueKey] === item) {
|
|
480
|
+
this.selectedLabelsArray.push(suggestion)
|
|
482
481
|
}
|
|
483
|
-
}
|
|
482
|
+
})
|
|
484
483
|
})
|
|
485
484
|
} else if (process.env.DEBUG === 'true') {
|
|
486
485
|
console.log(`'${this.$options.name}' recebeu valor em formato inválido.`)
|