fix form
This commit is contained in:
parent
648291078c
commit
8386021db2
|
|
@ -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)) {
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ export type FMProps = {
|
|||
on_load_deps?: any[];
|
||||
feature?: any[];
|
||||
sfd_field?: any;
|
||||
render_parent?: () => void;
|
||||
};
|
||||
|
||||
export type GenField =
|
||||
|
|
|
|||
Loading…
Reference in New Issue