@tagplus/components 2.1.12 → 2.1.13
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 +1 -0
package/package.json
CHANGED
|
@@ -522,6 +522,7 @@ export default {
|
|
|
522
522
|
if (Array.isArray(this.value)) {
|
|
523
523
|
this.value.forEach((item, key) => {
|
|
524
524
|
this.suggestionsList.forEach(suggestion => {
|
|
525
|
+
// Formatando item e suggestion para int, caso os valores sejam inteiros e tenham sido enviados como string. Para que o if funcione.
|
|
525
526
|
const formatItem = parseInt(item) ? parseInt(item) : item
|
|
526
527
|
const formatSuggestion = parseInt(suggestion[this.valueKey]) ? parseInt(suggestion[this.valueKey]) : suggestion[this.valueKey]
|
|
527
528
|
|