@uxf/form 11.97.0 → 11.99.1

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.
@@ -76,7 +76,7 @@ function NumberInput(props) {
76
76
  const onChange = (value, event) => {
77
77
  var _a;
78
78
  const parsedValue = props.decimalPlaces
79
- ? parseFloat(value.replace(" ", ""))
79
+ ? parseFloat(parseFloat(value.replace(" ", "")).toFixed(props.decimalPlaces))
80
80
  : parseInt(value.replace(" ", ""), 10);
81
81
  const returnValue = isNaN(parsedValue) ? null : parsedValue;
82
82
  field.onChange(returnValue);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/form",
3
- "version": "11.97.0",
3
+ "version": "11.99.1",
4
4
  "description": "",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -18,10 +18,10 @@
18
18
  "dependencies": {
19
19
  "@uxf/core": "11.97.0",
20
20
  "@uxf/core-react": "11.97.0",
21
- "@uxf/ui": "11.97.0",
21
+ "@uxf/ui": "11.99.1",
22
22
  "coordinate-parser": "1.0.7",
23
23
  "dayjs": "1.11.19",
24
- "react-hook-form": "7.68.0"
24
+ "react-hook-form": "7.71.1"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "react": ">=18.2.0",