@tagplus/components 1.0.8 → 1.0.9

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
@@ -8,7 +8,7 @@
8
8
  "email": "bruno@tagplus.com.br"
9
9
  }
10
10
  ],
11
- "version": "1.0.8",
11
+ "version": "1.0.9",
12
12
  "main": "./dist/tp.common.js",
13
13
  "directories": {
14
14
  "lib": "src/lib"
@@ -148,11 +148,10 @@ export default {
148
148
  }
149
149
  if (newVal >= this.max) newVal = this.max
150
150
  if (newVal <= this.min) newVal = this.min
151
- if (oldVal === newVal && newVal !== '') return
151
+ if (oldVal === newVal && newVal === this.value) return
152
152
  this.userInput = null
153
153
  this.$emit('input', newVal)
154
154
  this.$emit('change', newVal, oldVal)
155
- this.currentValue = newVal
156
155
  }
157
156
  }
158
157
  }