Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to create (edit) optipon so I can generate a canvas fom exsist data #202

Open
tryagain-3 opened this issue Dec 26, 2018 · 2 comments
Open

Comments

@tryagain-3
Copy link

I used Signature-pad to make a sketch field and I save the hidden input value in the database.
now I need to let the user edit the sketch again if he needs, so any way to sync the sketch and the hidden field, so I generate the old sketch and also its the option to clear the sketch and draw it again

any way to add undo option?

@ten9inc
Copy link

ten9inc commented Mar 28, 2019

See Regenerating Signatures

@mockdeep
Copy link
Collaborator

Thanks for following up @ten9inc. @tryagain-3 did you get your issue sorted out? You can also use the clearCanvas() option to clear out the signature via JavaScript and the user will be able to clear it themselves if you add a .clearButton for SignaturePad to attach to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants