react-jsonschema-form
Advanced tools
Comparing version 0.33.2 to 0.33.3
@@ -301,2 +301,6 @@ "use strict"; | ||
} | ||
if (/\.0$/.test(value)) { | ||
// we need to return this as a string here, to allow for input like 3.07 | ||
return value; | ||
} | ||
var n = Number(value); | ||
@@ -303,0 +307,0 @@ var valid = typeof n === "number" && !Number.isNaN(n); |
{ | ||
"name": "react-jsonschema-form", | ||
"version": "0.33.2", | ||
"version": "0.33.3", | ||
"description": "A simple React component capable of building HTML forms out of a JSON schema.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
745416
3141