Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4270f36

Browse files
fix inital context usage in action control
1 parentdfd1673 commit4270f36

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎client/packages/lowcoder/src/comps/controls/actionSelector/actionSelectorControl.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,9 @@ function actionSelectorControl(needContext: boolean) {
251251
constignorePromise=Promise.resolve();
252252
constrealNeedContext=needContext||getReduceContext().inEventContext;
253253
constactionPromise=()=>{
254-
returnrealNeedContext ?action.value.func() :this.children.comp.getView()();
254+
// return realNeedContext ? action.value.func() : this.children.comp.getView()();
255+
// commenting because it's using old context for event handlers inside list/grid
256+
returnthis.children.comp.getView()();
255257
};
256258
handlePromiseAfterResult(action,ignored ?ignorePromise :actionPromise());
257259
returnthis;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp