This commit is contained in:
Rizky 2024-07-04 00:03:53 -07:00
parent 648291078c
commit 8386021db2
2 changed files with 6 additions and 0 deletions

View File

@ -56,6 +56,11 @@ export const Form: FC<FMProps> = (props) => {
field: null,
},
});
if (props.render_parent) {
fm.render = props.render_parent;
}
useEffect(() => {
// deteksi jika ada softdelete
if (Array.isArray(props.feature)) {

View File

@ -19,6 +19,7 @@ export type FMProps = {
on_load_deps?: any[];
feature?: any[];
sfd_field?: any;
render_parent?: () => void;
};
export type GenField =