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
I want to restore an image (URI) into the signature Pad.
First I store the image into a string by pressing a button:
btnStore.addClickListener(e->{
if (signature != null && !signature.isEmpty())
{
img = signature.getImageURI();
_log.debug("Storing: "+img.length());
}
});
Next I clear the signature pad and then I want to set the image Uri back into the SignaturePad by pressing the restore button:
btnRestore.addClickListener(e->{
if (signature != null)
{
if (!FMZStringUtils.isEmptyStr(img))
{
_log.debug("Restoring: "+img.length());
signature.setImage(img);
}
}
});
The signature does not show the content.
I would expect the content to be restored!
This is happening using Vaadin 23.3.8 running on my dev machine (Windows 10) using tomcat as server.
I'm using version 3.1.0
de.f0rce.signaturepad
signature-widget
3.1.0
The text was updated successfully, but these errors were encountered:
I want to restore an image (URI) into the signature Pad.
First I store the image into a string by pressing a button:
btnStore.addClickListener(e->{
if (signature != null && !signature.isEmpty())
{
img = signature.getImageURI();
_log.debug("Storing: "+img.length());
}
});
Next I clear the signature pad and then I want to set the image Uri back into the SignaturePad by pressing the restore button:
btnRestore.addClickListener(e->{
if (signature != null)
{
if (!FMZStringUtils.isEmptyStr(img))
{
_log.debug("Restoring: "+img.length());
signature.setImage(img);
}
}
});
The signature does not show the content.
I would expect the content to be restored!
This is happening using Vaadin 23.3.8 running on my dev machine (Windows 10) using tomcat as server.
de.f0rce.signaturepad signature-widget 3.1.0I'm using version 3.1.0
The text was updated successfully, but these errors were encountered: