oolib 2.129.6 → 2.129.8
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.
|
@@ -143,9 +143,10 @@ var TextInput = function (props) {
|
|
|
143
143
|
})];
|
|
144
144
|
case 3:
|
|
145
145
|
pluginResponse = _a.sent();
|
|
146
|
-
|
|
147
|
-
if (pluginResponse)
|
|
148
|
-
|
|
146
|
+
//if plugin responds with undefined, it means it found no error. hence lets pass the 'success info' to passValidationErrorToFormValidation
|
|
147
|
+
if (!pluginResponse)
|
|
148
|
+
passValidationErrorToFormValidation('success');
|
|
149
|
+
setValidationStatus(pluginResponse);
|
|
149
150
|
_a.label = 4;
|
|
150
151
|
case 4: return [2 /*return*/];
|
|
151
152
|
}
|