Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to disable annotations including canvas appearance-data #968

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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,
}

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