@mozaic-ds/vue 0.36.0 → 0.36.1

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mozaic-ds/vue",
3
- "version": "0.36.0",
3
+ "version": "0.36.1",
4
4
  "description": "Vue.js implementation of Mozaic Design System",
5
5
  "author": "Adeo - Mozaic Design System",
6
6
  "scripts": {
@@ -197,9 +197,8 @@ export default {
197
197
  return this.listboxValue.length.toString() + ' ' + this.tagLabel;
198
198
  },
199
199
  getListboxValue() {
200
- return this.multiple
201
- ? this.listboxValue.length
202
- : this.listboxValue !== undefined;
200
+ const val = this.multiple ? this.listboxValue.length : this.listboxValue;
201
+ return !!val;
203
202
  },
204
203
  isClearable() {
205
204
  return this.clearable && this.getListboxValue && !this.disabled;