wave-ui 1.45.4 → 1.45.5

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": "wave-ui",
3
- "version": "1.45.4",
3
+ "version": "1.45.5",
4
4
  "description": "An emerging UI framework for Vue.js & Vue 3 with only the bright side. :sunny:",
5
5
  "author": "Antoni Andre <antoniandre.web@gmail.com>",
6
6
  "main": "./dist/wave-ui.umd.js",
@@ -169,7 +169,8 @@ export default {
169
169
 
170
170
  hasValue () {
171
171
  return (
172
- this.inputValue !== undefined ||
172
+ this.inputValue ||
173
+ this.inputValue === 0 ||
173
174
  ['date', 'time'].includes(this.type) ||
174
175
  (this.type === 'number' && this.inputNumberError) ||
175
176
  (this.type === 'file' && this.inputFiles.length)
@@ -116,7 +116,7 @@ export default {
116
116
  return listeners
117
117
  },
118
118
  hasValue () {
119
- return this.inputValue !== undefined
119
+ return this.inputValue || this.inputValue === 0
120
120
  },
121
121
  hasLabel () {
122
122
  return this.label || this.$slots.default