@pdg/react-form 1.0.147 → 1.0.148

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/dist/index.esm.js CHANGED
@@ -1776,7 +1776,7 @@ FormMobile.displayName = 'FormMobile';var NumberFormatCustom = React.forwardRef(
1776
1776
  if (onValue) {
1777
1777
  finalValue = onValue(finalValue);
1778
1778
  }
1779
- return finalValue !== undefined ? finalValue.toString() : undefined;
1779
+ return finalValue !== undefined ? finalValue.toString() : '';
1780
1780
  }, [onValue]);
1781
1781
  var handleValidate = useCallback(function (value) {
1782
1782
  if (onValidate) {
package/dist/index.js CHANGED
@@ -1776,7 +1776,7 @@ FormMobile.displayName = 'FormMobile';var NumberFormatCustom = React.forwardRef(
1776
1776
  if (onValue) {
1777
1777
  finalValue = onValue(finalValue);
1778
1778
  }
1779
- return finalValue !== undefined ? finalValue.toString() : undefined;
1779
+ return finalValue !== undefined ? finalValue.toString() : '';
1780
1780
  }, [onValue]);
1781
1781
  var handleValidate = React.useCallback(function (value) {
1782
1782
  if (onValidate) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pdg/react-form",
3
3
  "title": "React Form",
4
- "version": "1.0.147",
4
+ "version": "1.0.148",
5
5
  "description": "React Form",
6
6
  "type": "module",
7
7
  "types": "dist/index.d.ts",