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

fromDataURL is not a function #19

Closed
Gaaab opened this issue Aug 31, 2018 · 9 comments
Closed

fromDataURL is not a function #19

Gaaab opened this issue Aug 31, 2018 · 9 comments

Comments

@Gaaab
Copy link

Gaaab commented Aug 31, 2018

Hi! I am here again 😄

image

⚠️

_this.sig.fromDataURL(url)

Reference 🔗
https://github.com/szimek/signature_pad#api

@WangShayne
Copy link
Owner

hello, I cannot debug with your issue reporting.
Could you provide the minimum reproduction repo please?

@Gaaab
Copy link
Author

Gaaab commented Sep 3, 2018

Hi! seems I cannot do a pull request might as well create a public repo for this request

Here is the demo. Thanks.
https://github.com/Gaaab/vue-signature-demo/tree/request/from-data-url-is-not-a-function

@Gaaab
Copy link
Author

Gaaab commented Sep 3, 2018

Regarding the tech I am using

NodeJS 8.11.3
VueCli 3.0.0-rc.5

@WangShayne
Copy link
Owner

Hi,I try this repo. but I could not reproduce it

PzdJpQ.gif

@Gaaab
Copy link
Author

Gaaab commented Sep 3, 2018

Hmm... weird I tried re installing the package and it seems to be working. 🤔

Alright thanks for your effort you may close this issue.

@WangShayne
Copy link
Owner

okay

@DeepakAryal
Copy link

Hi i am getting this issue. i am using latest version 2.4.*

any help please?

@exemplari
Copy link

I had this issue when

  1. Using multiple signature panels rendered under v-if
  2. I solved it by setting a timeout :,(
    v-if removes elements from dom and they must re-render , vue-signature does not have an event to wait for and thus "sig.fromDataURL is not a function"
    i previously was render with v-show, but had problems with that, probably related to If element is initially hidden with v-show signaturePad doesn't work neighborhood999/vue-signature-pad#81

@WangShayne
Copy link
Owner

#28

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

No branches or pull requests

4 participants