aport-tools 4.4.45 → 4.4.46
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/forms/Input.d.ts +1 -1
- package/dist/index.esm.js +2 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! aport-tools v4.4.
|
1
|
+
/*! aport-tools v4.4.46 | ISC */
|
2
2
|
'use strict';
|
3
3
|
|
4
4
|
var React = require('react');
|
@@ -590,6 +590,7 @@ var Input = function Input(_a) {
|
|
590
590
|
if (isFirstRender.current) {
|
591
591
|
isFirstRender.current = false;
|
592
592
|
if (firstValue !== undefined) {
|
593
|
+
firstValue = firstValue.toString();
|
593
594
|
setInternalValue(firstValue);
|
594
595
|
setFormValue(name, firstValue, firstValue); // Pass firstValue here
|
595
596
|
} else {
|