diff --git a/src/utils/formUtil.ts b/src/utils/formUtil.ts index 323ed0f0..4d3e65c3 100644 --- a/src/utils/formUtil.ts +++ b/src/utils/formUtil.ts @@ -680,7 +680,7 @@ export function getComponent( ): (Component | undefined) { let result; eachComponent(components, (component: Component, path: any) => { - if ((path === key) || (component.path === key) || (component.key === key)) { + if ((path === key) || (component.path === key) || (component.input && (component.key === key))) { result = component; return true; }