@seges/angular-validators
Advanced tools
+1
-1
| { | ||
| "name": "@seges/angular-validators", | ||
| "version": "3.1.0", | ||
| "version": "3.1.1", | ||
| "description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.ts", |
@@ -19,3 +19,6 @@ import { IValidator } from "../IValidator"; | ||
| let floatValue = value.replace(",", "."); | ||
| // The toString() is invoked to ensure it is actually a string we manipulate. | ||
| // Input elements in IE pass values as strings while the model can pass values as numbers. | ||
| // hence this workaround is required. | ||
| let floatValue = value.toString().replace(",", "."); | ||
| floatValue.toString().split("."); | ||
@@ -22,0 +25,0 @@ let decimals = floatValue.toString().split(".")[1]; |
@@ -32,3 +32,6 @@ import { IValidator } from "../IValidator"; | ||
| let floatValue = value.replace(",", "."); | ||
| // The toString() is invoked to ensure it is actually a string we manipulate. | ||
| // Input elements in IE pass values as strings while the model can pass values as numbers. | ||
| // hence this workaround is required. | ||
| let floatValue = value.toString().replace(",", "."); | ||
| let floatMaxValue = attrs.maxValue.replace(",", "."); | ||
@@ -35,0 +38,0 @@ |
@@ -32,3 +32,6 @@ import { IValidator } from "../IValidator"; | ||
| let floatValue = value.replace(",", "."); | ||
| // The toString() is invoked to ensure it is actually a string we manipulate. | ||
| // Input elements in IE pass values as strings while the model can pass values as numbers. | ||
| // hence this workaround is required. | ||
| let floatValue = value.toString().replace(",", "."); | ||
| let floatMinValue = attrs.minValue.replace(",", "."); | ||
@@ -35,0 +38,0 @@ |
16209
4.75%317
2.92%