@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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
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() :
|
|
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() :
|
|
1779
|
+
return finalValue !== undefined ? finalValue.toString() : '';
|
|
1780
1780
|
}, [onValue]);
|
|
1781
1781
|
var handleValidate = React.useCallback(function (value) {
|
|
1782
1782
|
if (onValidate) {
|