You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console
Bug reports:
I am trying to use this library with my Angular project. However I see that generated canvas / image does not contain Angular Material Field's Label value. The generated image contains Prefix, Postfix, Hint, but not the Label, in both cases when appearance is "fill" or "outline".
Hello there, did you manage to fix this? I am having the exact same problem... when downloading the pdf, my forms looks the same but without all the labels...
Please make sure you are testing with the latest release of html2canvas.
Old versions are not supported and issues reported for them will be closed.
Please follow the general troubleshooting steps first:
Bug reports:
I am trying to use this library with my Angular project. However I see that generated canvas / image does not contain Angular Material Field's Label value. The generated image contains Prefix, Postfix, Hint, but not the Label, in both cases when appearance is "fill" or "outline".
Here is running example using Stackblitz - https://stackblitz.com/edit/angular-html-2-canvas
Two issues with labels -
When there is value in field, label is missing in canvas / image
When there is no value in the field, label is getting truncated, also it gets overlapped with placeholder if it exists
When developing with Angular, it's very common to use Label, so label not getting into canvas / image is a major problem.
Specifications:
The text was updated successfully, but these errors were encountered: