@plasmicapp/react-web 0.2.359 → 0.2.360
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/react-web.esm.js
CHANGED
|
@@ -2225,7 +2225,9 @@ function create$StateProxy($$state, leafHandlers) {
|
|
|
2225
2225
|
// We need to call the onChangeProp during initialization process so that the parent
|
|
2226
2226
|
// state can be updated with the correct value. We will provide an addtionnal parameter
|
|
2227
2227
|
// to the onChangeProp function to indicate that the call is made during initialization.
|
|
2228
|
-
(_d = (_c = $$state.env.$props)[nextSpec.onChangeProp]) === null || _d === void 0 ? void 0 : _d.call(_c, value,
|
|
2228
|
+
(_d = (_c = $$state.env.$props)[nextSpec.onChangeProp]) === null || _d === void 0 ? void 0 : _d.call(_c, value, {
|
|
2229
|
+
_plasmic_state_init_: isInitOnChange,
|
|
2230
|
+
});
|
|
2229
2231
|
if (isInitOnChange) {
|
|
2230
2232
|
$$state.initializedLeafPaths.add(pathKey);
|
|
2231
2233
|
}
|