diff --git a/frontend/lib/registry/components/table-list/TableListComponent.tsx b/frontend/lib/registry/components/table-list/TableListComponent.tsx index dd450621..58055ca6 100644 --- a/frontend/lib/registry/components/table-list/TableListComponent.tsx +++ b/frontend/lib/registry/components/table-list/TableListComponent.tsx @@ -338,13 +338,22 @@ export const TableListComponent: React.FC = ({ const cached = tableColumnCache.get(cacheKey); if (cached && Date.now() - cached.timestamp < TABLE_CACHE_TTL) { const labels: Record = {}; - const meta: Record = {}; + const meta: Record = {}; + + // 캐시된 inputTypes 맵 생성 + const inputTypeMap: Record = {}; + if (cached.inputTypes) { + cached.inputTypes.forEach((col: any) => { + inputTypeMap[col.columnName] = col.inputType; + }); + } cached.columns.forEach((col: any) => { labels[col.columnName] = col.displayName || col.comment || col.columnName; meta[col.columnName] = { webType: col.webType, codeCategory: col.codeCategory, + inputType: inputTypeMap[col.columnName], // 캐시된 inputType 사용! }; }); @@ -442,7 +451,7 @@ export const TableListComponent: React.FC = ({ try { const categoryColumns = Object.entries(columnMeta) - .filter(([_, meta]) => meta.inputType === "category" || meta.webType === "category") + .filter(([_, meta]) => meta.inputType === "category") .map(([columnName, _]) => columnName); if (categoryColumns.length === 0) {