save and continue
const {
modalProps: createModalProps,
formProps: createFormProps,
show: createModalShow,
} = useModalForm<IBrand>({
action: "create",
warnWhenUnsavedChanges: true,
});
const {
modalProps: editModalProps,
formProps: editFormProps,
show: editModalShow,
id: editId,
} = useModalForm<IBrand>({
action: "edit",
warnWhenUnsavedChanges: true,
});
im using modal to handle crud entity, how to controll save button, i want save and continue saving new one
modalProps: createModalProps,
formProps: createFormProps,
show: createModalShow,
} = useModalForm<IBrand>({
action: "create",
warnWhenUnsavedChanges: true,
});
const {
modalProps: editModalProps,
formProps: editFormProps,
show: editModalShow,
id: editId,
} = useModalForm<IBrand>({
action: "edit",
warnWhenUnsavedChanges: true,
});
im using modal to handle crud entity, how to controll save button, i want save and continue saving new one
