@wise/dynamic-flow-client 3.29.4 → 3.29.5
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/build/main.js +13 -3
- package/build/main.min.js +1 -1
- package/build/main.mjs +13 -3
- package/package.json +1 -1
package/build/main.js
CHANGED
|
@@ -13450,7 +13450,8 @@ var TextInputRenderer = {
|
|
|
13450
13450
|
minLength,
|
|
13451
13451
|
type,
|
|
13452
13452
|
validationState,
|
|
13453
|
-
value: initialValue
|
|
13453
|
+
value: initialValue,
|
|
13454
|
+
onChange
|
|
13454
13455
|
} = _a, rest = __objRest(_a, [
|
|
13455
13456
|
"id",
|
|
13456
13457
|
"control",
|
|
@@ -13464,10 +13465,19 @@ var TextInputRenderer = {
|
|
|
13464
13465
|
"minLength",
|
|
13465
13466
|
"type",
|
|
13466
13467
|
"validationState",
|
|
13467
|
-
"value"
|
|
13468
|
+
"value",
|
|
13469
|
+
"onChange"
|
|
13468
13470
|
]);
|
|
13469
13471
|
const value = initialValue != null ? initialValue : "";
|
|
13470
|
-
const inputProps = __spreadProps(__spreadValues({}, rest), {
|
|
13472
|
+
const inputProps = __spreadProps(__spreadValues({}, rest), {
|
|
13473
|
+
value,
|
|
13474
|
+
id,
|
|
13475
|
+
onChange: (newValue) => {
|
|
13476
|
+
if ((value != null ? value : "") !== (newValue != null ? newValue : "")) {
|
|
13477
|
+
onChange(newValue);
|
|
13478
|
+
}
|
|
13479
|
+
}
|
|
13480
|
+
});
|
|
13471
13481
|
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
13472
13482
|
FieldInput_default,
|
|
13473
13483
|
{
|