sapo-components-ui-rn 1.1.77 → 1.1.78
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
|
@@ -4827,9 +4827,10 @@ var TextInputFlat = function (_a) {
|
|
|
4827
4827
|
onChangeText === null || onChangeText === void 0 ? void 0 : onChangeText("");
|
|
4828
4828
|
}
|
|
4829
4829
|
else {
|
|
4830
|
-
|
|
4830
|
+
if (inputValue !== value)
|
|
4831
|
+
setInputValue(value || "");
|
|
4831
4832
|
}
|
|
4832
|
-
}, [value]);
|
|
4833
|
+
}, [value, inputValue]);
|
|
4833
4834
|
var handleChangeText = function (text) {
|
|
4834
4835
|
setInputValue(text);
|
|
4835
4836
|
onChangeText === null || onChangeText === void 0 ? void 0 : onChangeText(text);
|
|
@@ -5153,9 +5154,10 @@ var TextInputDefault = function (_a) {
|
|
|
5153
5154
|
onChangeText === null || onChangeText === void 0 ? void 0 : onChangeText("");
|
|
5154
5155
|
}
|
|
5155
5156
|
else {
|
|
5156
|
-
|
|
5157
|
+
if (inputValue !== value)
|
|
5158
|
+
setInputValue(value || "");
|
|
5157
5159
|
}
|
|
5158
|
-
}, [value]);
|
|
5160
|
+
}, [value, inputValue]);
|
|
5159
5161
|
var handleChangeText = function (text) {
|
|
5160
5162
|
setInputValue(text);
|
|
5161
5163
|
onChangeText === null || onChangeText === void 0 ? void 0 : onChangeText(text);
|