diff --git a/frontend/lib/registry/DynamicComponentRenderer.tsx b/frontend/lib/registry/DynamicComponentRenderer.tsx index e2fe8abe..3792518e 100644 --- a/frontend/lib/registry/DynamicComponentRenderer.tsx +++ b/frontend/lib/registry/DynamicComponentRenderer.tsx @@ -150,8 +150,10 @@ export const DynamicComponentRenderer: React.FC = const columnName = (component as any).columnName; // 카테고리 셀렉트: webType이 "category"이고 tableName과 columnName이 있는 경우만 - // ⚠️ 단, componentType이 "select-basic"인 경우는 제외 (다중선택 등 고급 기능 지원) - if ((inputType === "category" || webType === "category") && tableName && columnName && componentType !== "select-basic") { + // ⚠️ 단, componentType이 "select-basic"인 경우는 ComponentRegistry로 처리 (다중선택 등 고급 기능 지원) + if ((inputType === "category" || webType === "category") && tableName && columnName && componentType === "select-basic") { + // select-basic은 ComponentRegistry에서 처리하도록 아래로 통과 + } else if ((inputType === "category" || webType === "category") && tableName && columnName) { try { const { CategorySelectComponent } = require("@/lib/registry/components/category-select/CategorySelectComponent"); const fieldName = columnName || component.id;