forked from OpenSignLabs/OpenSign
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add feature to select different document in template
Related to OpenSignLabs#1477 Add functionality to select a different base document in templates. * **EditTemplate Component**: - Add a file input field to allow users to upload a new base document. - Update the form submission logic to handle the new base document. - Update the state to include the new base document. * **TemplatePlaceholder Component**: - Add logic to handle the new base document when fetching template details. - Update the state to include the new base document. - Update the `handleSaveTemplate` function to save the new base document. * **createTemplatewithCoordinate Function**: - Add logic to handle the new base document when creating a template. - Update the state to include the new base document. * **createDocumentWithTemplate Function**: - Add logic to handle the new base document when creating a document from a template. - Update the state to include the new base document.
- Loading branch information
Showing
4 changed files
with
37 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters