@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/index.cjs.js
CHANGED
|
@@ -2244,7 +2244,9 @@ function create$StateProxy($$state, leafHandlers) {
|
|
|
2244
2244
|
// We need to call the onChangeProp during initialization process so that the parent
|
|
2245
2245
|
// state can be updated with the correct value. We will provide an addtionnal parameter
|
|
2246
2246
|
// to the onChangeProp function to indicate that the call is made during initialization.
|
|
2247
|
-
(_d = (_c = $$state.env.$props)[nextSpec.onChangeProp]) === null || _d === void 0 ? void 0 : _d.call(_c, value,
|
|
2247
|
+
(_d = (_c = $$state.env.$props)[nextSpec.onChangeProp]) === null || _d === void 0 ? void 0 : _d.call(_c, value, {
|
|
2248
|
+
_plasmic_state_init_: isInitOnChange,
|
|
2249
|
+
});
|
|
2248
2250
|
if (isInitOnChange) {
|
|
2249
2251
|
$$state.initializedLeafPaths.add(pathKey);
|
|
2250
2252
|
}
|