We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfd1673 commit 4270f36Copy full SHA for 4270f36
client/packages/lowcoder/src/comps/controls/actionSelector/actionSelectorControl.tsx
@@ -251,7 +251,9 @@ function actionSelectorControl(needContext: boolean) {
251
const ignorePromise = Promise.resolve();
252
const realNeedContext = needContext || getReduceContext().inEventContext;
253
const actionPromise = () => {
254
- return realNeedContext ? action.value.func() : this.children.comp.getView()();
+ // return realNeedContext ? action.value.func() : this.children.comp.getView()();
255
+ // commenting because it's using old context for event handlers inside list/grid
256
+ return this.children.comp.getView()();
257
};
258
handlePromiseAfterResult(action, ignored ? ignorePromise : actionPromise());
259
return this;
0 commit comments