@pinuts/bsr-uikit-relaunch 0.2.16 → 0.2.17
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BSRAddressContext.d.ts","sourceRoot":"","sources":["../../../src/items/BSRAddressSelector/BSRAddressContext.js"],"names":[],"mappings":"AAeA,mDAAiD;;kBAf+B,OAAO;AAiBvF;;;
|
|
1
|
+
{"version":3,"file":"BSRAddressContext.d.ts","sourceRoot":"","sources":["../../../src/items/BSRAddressSelector/BSRAddressContext.js"],"names":[],"mappings":"AAeA,mDAAiD;;kBAf+B,OAAO;AAiBvF;;;sBA2KC;;;;;;;;;;;;;sBA3LqB,YAAY"}
|
|
@@ -100,6 +100,13 @@ const BSRAddressContextProvider = _ref => {
|
|
|
100
100
|
setShowNoResultsError(false);
|
|
101
101
|
setSelectedStreetList(null);
|
|
102
102
|
setSelectedRadioValue(null);
|
|
103
|
+
if (addressContext.doSubmitOnChange) {
|
|
104
|
+
window.setTimeout(() => {
|
|
105
|
+
// need a thread change to wait the form is re-rendered before submitting
|
|
106
|
+
// ==> react-dom.development.js:86 Warning: Cannot update a component (`Vr`) while rendering a different component
|
|
107
|
+
submitForm();
|
|
108
|
+
}, 1);
|
|
109
|
+
}
|
|
103
110
|
}, [setFieldValue, setTriggerCancelCombox, fieldKeys, setShowNoResultsError]);
|
|
104
111
|
|
|
105
112
|
// AdressePrüfenBtn anzeigen, wenn Straße und Hausnummer gesetzt sind
|