This commit is contained in:
rizky 2024-11-05 00:50:42 -07:00
parent d3e5147a59
commit 1e01afae31
2 changed files with 19 additions and 18 deletions

View File

@ -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 = (
<TableListEdit
on_init={() => {
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 = (
// <TableListEdit
// on_init={() => {
// 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;

View File

@ -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",