From f765ac4a47a3d6c87401b9f0fede070449a69383 Mon Sep 17 00:00:00 2001 From: kjs Date: Thu, 20 Nov 2025 18:26:19 +0900 Subject: [PATCH] =?UTF-8?q?debug:=20SelectBasicComponent=20=EB=A0=8C?= =?UTF-8?q?=EB=8D=94=EB=A7=81=20=ED=99=95=EC=9D=B8=EC=9A=A9=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 문제: - 다중선택 설정했지만 UI에 반영 안됨 - 디버깅 로그가 콘솔에 전혀 안 보임 원인 추정: - SelectBasicComponent가 아예 렌더링 안되고 있을 가능성 - 또는 다른 select 컴포넌트가 대신 렌더링될 가능성 테스트: - 최상단에 눈에 띄는 로그 (🚨🚨🚨) 추가 - componentId, componentType, columnName, multiple 값 출력 - 이 로그가 안 보이면 다른 컴포넌트가 렌더링되는 것 --- .../components/select-basic/SelectBasicComponent.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/frontend/lib/registry/components/select-basic/SelectBasicComponent.tsx b/frontend/lib/registry/components/select-basic/SelectBasicComponent.tsx index 2f1cdaa3..9f151509 100644 --- a/frontend/lib/registry/components/select-basic/SelectBasicComponent.tsx +++ b/frontend/lib/registry/components/select-basic/SelectBasicComponent.tsx @@ -50,6 +50,15 @@ const SelectBasicComponent: React.FC = ({ menuObjid, // 🆕 메뉴 OBJID ...props }) => { + // 🚨 최초 렌더링 확인용 (테스트 후 제거) + console.log("🚨🚨🚨 [SelectBasicComponent] 렌더링됨!!!!", { + componentId: component.id, + componentType: (component as any).componentType, + columnName: (component as any).columnName, + "props.multiple": (props as any).multiple, + "componentConfig.multiple": componentConfig?.multiple, + }); + const [isOpen, setIsOpen] = useState(false); // webTypeConfig 또는 componentConfig 사용 (DynamicWebTypeRenderer 호환성)