What were you trying to do?
Hey, i have some pdf files where i can't access related page index.
repo:
https://stackblitz.com/edit/vitejs-vite-quraanfr?file=src%2FApp.tsx
in getFieldsFromDocument.ts there is function which find page for every field. broken file returns undefined for reference.
How did you attempt to do it?
- run server
- go to App.tsx and uncomment one url (first one - not work,second one - work)
- click show
- near
Kunded nr. should be red box with input:
What actually happened?
widget is not recognized
What did you expect to happen?
widget should be recognized the same way as in second file
How can we reproduce the issue?
- run server
- go to App.tsx and uncomment one url (first one - not work,second one - work)
- click show
- near
Kunded nr. should be red box with input
Version
What environment are you running pdf-lib in?
Node
Checklist
Additional Notes
working view:
not working view:

What were you trying to do?
Hey, i have some pdf files where i can't access related page index.
repo:
https://stackblitz.com/edit/vitejs-vite-quraanfr?file=src%2FApp.tsx
in
getFieldsFromDocument.tsthere is function which find page for every field. broken file returns undefined for reference.How did you attempt to do it?
Kunded nr.should be red box with input:What actually happened?
widget is not recognized
What did you expect to happen?
widget should be recognized the same way as in second file
How can we reproduce the issue?
Kunded nr.should be red box with inputVersion
What environment are you running pdf-lib in?
Node
Checklist
Additional Notes
working view:
not working view: