We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c85b8cb commit f40e19fCopy full SHA for f40e19f
packages/amis-editor/src/renderer/event-control/helper.tsx
@@ -3191,7 +3191,11 @@ export const getEventControlConfig = (
3191
3192
if (['setValue'].includes(action.actionType)) {
3193
const root = getRootManager(manager);
3194
- let schema = JSONGetById(root.store.schema, config.__cmptId, 'id');
+ let schema = JSONGetById(
3195
+ root.store.schema,
3196
+ config.__cmptId || action.componentId,
3197
+ 'id'
3198
+ );
3199
if (schema) {
3200
let __isScopeContainer = DATA_CONTAINER.includes(schema.type);
3201
config.__isScopeContainer = __isScopeContainer;
0 commit comments