Unfortunately I’m not allowed to download and run third-party code on my corporate machine, so I can’t test the project you provided. I looked at the code though and it seems pretty similar to mine.
Here is my implementation of the Webviewer in our Angular project (I only deleted my license key for this upload):
apryse.ts (5.5 KB)
Maybe you can check the code and test again.
It’s really strange behaviour and every now and then it suddenly works as expected. And then it doesn’t. I also tried putting a new signature field on the document using the Forms tool, but that signature field also has the same bug.
EDIT: I think I have found the cause of the problem. When I delete these two lines, the signature fields work as intended:
const tool = instance.Core.documentViewer.getTool('AnnotationCreateSignature'); tool['setSigningMode'](instance.Core.Tools.SignatureCreateTool.SigningModes.ANNOTATION);
I got the recommendation to put the SigningMode to “Annotation” in another thread I posted:
Check if Signature Fields are signed - Technical Support / WebViewer - Apryse Community
So, without setting the SigningMode to “Annotation”, the areRequiredFieldsFilled() API doesn’t work. But if I set the SigningMode, the previously described bug with the Signature Fields occurs…