From 9b65c1cbff195d7340954df543a38b0771bfe958 Mon Sep 17 00:00:00 2001 From: kjs Date: Thu, 20 Nov 2025 18:29:29 +0900 Subject: [PATCH] =?UTF-8?q?debug:=20DynamicComponentRenderer=EC=97=90?= =?UTF-8?q?=EC=84=9C=20select-basic=20=EC=A1=B0=ED=9A=8C=20=EB=A1=9C?= =?UTF-8?q?=EA=B7=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 문제: - SelectBasicComponent 렌더링 로그가 전혀 안 보임 - select-basic이 ComponentRegistry에 등록되었는지 확인 필요 디버깅: - componentType이 'select-basic'일 때 조회 결과 로그 - found: true/false로 등록 여부 확인 - componentConfig 값도 함께 출력 예상 결과: - found: false면 등록 실패 - found: true면 다른 문제 (렌더링 과정에서 문제) --- frontend/lib/registry/DynamicComponentRenderer.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/frontend/lib/registry/DynamicComponentRenderer.tsx b/frontend/lib/registry/DynamicComponentRenderer.tsx index 4c95ceb8..5273732e 100644 --- a/frontend/lib/registry/DynamicComponentRenderer.tsx +++ b/frontend/lib/registry/DynamicComponentRenderer.tsx @@ -213,6 +213,16 @@ export const DynamicComponentRenderer: React.FC = // 1. 새 컴포넌트 시스템에서 먼저 조회 const newComponent = ComponentRegistry.getComponent(componentType); + // 🔍 디버깅: select-basic 조회 결과 확인 + if (componentType === "select-basic") { + console.log("🔍 [DynamicComponentRenderer] select-basic 조회:", { + componentType, + found: !!newComponent, + componentId: component.id, + componentConfig: component.componentConfig, + }); + } + if (newComponent) { // 새 컴포넌트 시스템으로 렌더링 try {