Fix: render PDF form values in annotation layer (#13607)

This commit is contained in:
shamoon
2026-08-07 23:15:42 -07:00
committed by GitHub
parent 1f396e51f3
commit 2635a12281
3 changed files with 16 additions and 0 deletions
@@ -19,6 +19,13 @@ export const GlobalWorkerOptions = {
workerSrc: '',
}
export const AnnotationMode = {
DISABLE: 0,
ENABLE: 1,
ENABLE_FORMS: 2,
ENABLE_STORAGE: 3,
}
export const getDocument = (_src: unknown): PDFDocumentLoadingTask => {
return new PDFDocumentLoadingTask(Promise.resolve(new PDFDocumentProxy()))
}