diff --git a/apps/sn/app/components/ui/vertical-table.tsx b/apps/sn/app/components/ui/vertical-table.tsx index f2685d98c..1f3615a55 100644 --- a/apps/sn/app/components/ui/vertical-table.tsx +++ b/apps/sn/app/components/ui/vertical-table.tsx @@ -198,11 +198,8 @@ export function VerticalTable({ head.type === "select" ? ( handleInputChange(head.id, e.target.value) } @@ -357,11 +351,8 @@ export function VerticalTable({ ? "number" : "text" } - value={ - formData[head.id] !== undefined - ? String(formData[head.id]) - : "" - } + // DB 값이 null 이면 "null" 글자가 입력칸에 보이므로 빈칸으로 맞춘다. + value={String(formData[head.id] ?? "")} onChange={(e) => { if (head.isNumber) { const newValue = e.target.value;