From 1e01afae3113a50b3adb359cbc51174c87a69fc1 Mon Sep 17 00:00:00 2001 From: rizky Date: Tue, 5 Nov 2024 00:50:42 -0700 Subject: [PATCH] fix --- comps/form/field/FieldInput.tsx | 36 ++++++++++++++++----------------- modules.json | 1 + 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/comps/form/field/FieldInput.tsx b/comps/form/field/FieldInput.tsx index 17c3e98..03ec4b9 100755 --- a/comps/form/field/FieldInput.tsx +++ b/comps/form/field/FieldInput.tsx @@ -7,7 +7,7 @@ import { FieldTypeInput, PropTypeInput } from "./type/TypeInput"; import { FieldLink } from "./type/TypeLink"; import { MultiOption } from "./type/TypeMultiOption"; import { SingleOption } from "./type/TypeSingleOption"; -import { TableListEdit } from "app/comps/table-list-edit/TableListEdit"; +// import { TableListEdit } from "app/comps/table-list-edit/TableListEdit"; export const FieldInput: FC<{ field: FieldLocal; @@ -86,23 +86,23 @@ export const FieldInput: FC<{ child: get(_item, "edit.props.child.value") as PrasiItem, bottom: childsTableEdit.find((e) => e.name === "bottom") as PrasiItem, }; - table_list_edit = ( - { - return fm; - }} - field = {field} - arg={arg} - show_header={arg.tbl_show_header} - name={arg.name} - child={child} - PassProp={PassProp} - item={_item} - bottom={tableListEdit.bottom} - body={tableListEdit.child} - fm={fm} - /> - ); + // table_list_edit = ( + // { + // return fm; + // }} + // field = {field} + // arg={arg} + // show_header={arg.tbl_show_header} + // name={arg.name} + // child={child} + // PassProp={PassProp} + // item={_item} + // bottom={tableListEdit.bottom} + // body={tableListEdit.child} + // fm={fm} + // /> + // ); } let not_ready: any = false; diff --git a/modules.json b/modules.json index b602b48..80bf5f8 100755 --- a/modules.json +++ b/modules.json @@ -4,6 +4,7 @@ "@hookform/resolvers": "^3.3.4", "@paralleldrive/cuid2": "^2.2.2", "@prisma/client": "^5.13.0", + "@radix-ui/react-aspect-ratio": "^1.1.0", "@radix-ui/react-alert-dialog": "^1.1.1", "@radix-ui/react-dialog": "^1.1.1", "@radix-ui/react-dropdown-menu": "^2.1.1",