Issue with Text Field Annotation Duplication After Enabling Multiline in WebViewer v10.12.0

Product : WebViewer

Product Version: v10.12.0

Please give a brief summary of your issue:
Issue with Text Field Annotation Duplication After Enabling Multiline in WebViewer v10.12.0

Please describe your issue and provide steps to reproduce it:
When adding a Text Field annotation in Apryse WebViewer (v10.12.0), enabling “Document Indicator” and setting “Required” to true , only one annotation is created as expected. However, after editing this annotation and enabling “Multiline” , the UI appears to create two annotations , but in reality, only one annotation exists in the document.

Please provide a link to a minimal sample where the issue is reproducible:

  • After enabling Multiline, the UI seems to create two annotations (visually or in the annotation list).
  • However, only one actual annotation is created and saved in the document.

Steps to Reproduce:

  1. Open a document in WebViewer.
  2. Add a Text Field annotation.
  3. In the annotation settings:
  • Enable Document Indicator.
  • Set Required to true.
  1. Click OK to save the annotation.
  2. Reopen the annotation for editing.
  3. Enable the Multiline option.
  4. Click OK again.

1 Like

Hello, I’m AiRon, an automated tech support bot :robot:
While you wait for one of our customer support representatives, I can help you with your question.


It seems like you’re encountering a visual issue in WebViewer where enabling the “Multiline” option for a text field annotation appears to create a duplicate in the UI, although only one annotation is actually saved in the document. This might be related to how the UI updates when annotation properties are changed.

Some things you can try:

  • Check if the UI refreshes properly after enabling the Multiline option by triggering a manual refresh or update of the annotation list.

  • Ensure that your WebViewer instance is correctly handling the annotation modification events, which might not be updating the UI as expected.

  • Examine your implementation to see if any custom logic might be interfering with the UI update process.

  • Test with the latest version of WebViewer, if possible, to see if the issue persists, as it might be a version-specific bug.



Here are some resources that might help you:

  • Create Text Field: This guide explains the properties and flags for text fields, which might help in understanding the behavior of the Multiline property.

  • Create New PDF Form Fields using JavaScript: Provides additional context on creating and handling form fields programmatically.

  • Save Annotations in Mendix: Offers insights on saving annotation data, which might help you verify the actual storage of annotations.

  • Stamp Annotations: Although focused on stamps, this guide can provide understanding on handling different types of annotations.



Hopefully, this helps you solve your problem while you wait for a human to get back to you.

1 Like

Hi Jasmin,

Thank you for reaching out.

  1. Have you tried to replicate this issue on the Showcase: https://showcase.apryse.com/
  2. Have you tried upgrading to the latest version to see if that resolves the issue?
  3. Can you tell us if that happens with any document?

Best Regards,
Mickaël.