From 14bec38e7365046c27b1225c2f810dcbdaacb187 Mon Sep 17 00:00:00 2001 From: Admin Date: Thu, 14 Aug 2025 08:20:12 +0700 Subject: [PATCH] update view --- client/app/routes/products/list.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/client/app/routes/products/list.tsx b/client/app/routes/products/list.tsx index 3d4eec0..5347a77 100644 --- a/client/app/routes/products/list.tsx +++ b/client/app/routes/products/list.tsx @@ -44,6 +44,7 @@ import type { RootState } from "~/store"; import ProductModal from "./components/modals/product-modal"; import { Badge } from "~/components/ui/badge"; import { HistoryModal } from "./components/modals/history-modal"; +import { Textarea } from "~/components/ui/textarea"; export default function List() { // const { setEdit } = useUserModal(); @@ -100,8 +101,13 @@ export default function List() { { key: "description", label: "Description", - displayType: "text", + displayType: "custom", sortable: true, + render(value, row) { + return ( + + ); + }, }, { key: "tags",