Skip to content

Conversation

yuliya-ivaniukovich
Copy link

Closes #963

@wojtekmaj wojtekmaj self-requested a review March 23, 2022 08:03
Copy link
Owner

@wojtekmaj wojtekmaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful work!

Some comments I have:

  1. annotationMode must be documented.
  2. Having more unit tests would be great. I'll gladly help out.
  3. This technically deprecates renderForms in favor of much more powerful annotationMode, so renderForms is to be marked as deprecated (this one can be on me)

@chopfitzroy
Copy link

How can I help to get this merged?

@ndthanhdev
Copy link

ndthanhdev commented Dec 11, 2024

Beautiful work!

Some comments I have:

  1. annotationMode must be documented.
  2. Having more unit tests would be great. I'll gladly help out.
  3. This technically deprecates renderForms in favor of much more powerful annotationMode, so renderForms is to be marked as deprecated (this one can be on me)

About (3) deprecating renderForms: we actually need to keep both renderForms and annotationMode as they serve distinct purposes.

  1. renderForms controls the HTML layer.
  2. annotationMode determines how to draw form/annotation on the canvas layer.

Example: to show filled non-editable input

{
  renderForms: false,
  annotationMode: ENABLE_STORAGE,
}

@wojtekmaj
Copy link
Owner

Superseded by #1998 as this PR had to be rebased.

@wojtekmaj wojtekmaj closed this Jun 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ability to disable annotations (including bboxes in canvas)

4 participants