mirror of
https://github.com/documenso/documenso.git
synced 2025-11-19 19:21:39 +10:00
chore: draft onBlur and unmount
Signed-off-by: Adithya Krishna <aadithya794@gmail.com>
This commit is contained in:
@ -224,6 +224,10 @@ export const EditDocumentForm = ({
|
||||
}
|
||||
};
|
||||
|
||||
const setSubjectFormFields = (subject?: string, message?: string) => {
|
||||
// Add functionality here
|
||||
};
|
||||
|
||||
const onAddFieldsFormSubmit = async (data: TAddFieldsFormSchema) => {
|
||||
try {
|
||||
await addFields({
|
||||
@ -359,6 +363,7 @@ export const EditDocumentForm = ({
|
||||
fields={fields}
|
||||
onSubmit={onAddSubjectFormSubmit}
|
||||
isDocumentPdfLoaded={isDocumentPdfLoaded}
|
||||
setSubjectFormFields={setSubjectFormFields}
|
||||
/>
|
||||
</Stepper>
|
||||
</DocumentFlowFormContainer>
|
||||
|
||||
Reference in New Issue
Block a user