@afeefa/vue-app 0.0.124 → 0.0.125

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- 0.0.124
1
+ 0.0.125
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afeefa/vue-app",
3
- "version": "0.0.124",
3
+ "version": "0.0.125",
4
4
  "description": "",
5
5
  "author": "Afeefa Kollektiv <kollektiv@afeefa.de>",
6
6
  "license": "MIT",
@@ -118,7 +118,7 @@ export default class ATextField extends Mixins(ComponentWidthMixin) {
118
118
  if (!value) {
119
119
  value = null
120
120
  } else {
121
- value = this.internalValue.match(/^\d*(.\d+)?$/) ? parseFloat(this.internalValue) : NaN
121
+ value = this.internalValue.match(/^-?\d*(\.\d+)?$/) ? parseFloat(this.internalValue) : NaN
122
122
  }
123
123
  }
124
124
  return value