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

Can't edit some fields in the DB (Deutsche Bahn) reimbursment form #15818

Closed
lnicola opened this issue Dec 13, 2022 · 0 comments · Fixed by #15822
Closed

Can't edit some fields in the DB (Deutsche Bahn) reimbursment form #15818

lnicola opened this issue Dec 13, 2022 · 0 comments · Fixed by #15822
Assignees
Labels

Comments

@lnicola
Copy link

lnicola commented Dec 13, 2022

Attach (recommended) or Link to PDF file here:

fahrgastrechteformular.pdf

https://assets.static-bahn.de/dam/jcr:38fc20e5-9179-4abb-94c5-ebddab941b33/fahrgastrechteformular.pdf

Configuration:

  • Web browser and its version: Firefox Nightly 109.0a1 (2022-12-09)
  • Operating system and its version: Linux
  • PDF.js version: 🤷
  • Is a browser extension: it's Firefox 🤷

Steps to reproduce the problem:

  1. open attached PDF
  2. try to fill in the fields, especially the ones left empty in the screenshot below

What is the expected behavior?

image

What went wrong?

image

@calixteman calixteman self-assigned this Dec 13, 2022
calixteman added a commit to calixteman/pdf.js that referenced this issue Dec 13, 2022
… open (issue mozilla#15818)

It's a follow-up of mozilla#14950: some format actions are ran when the document is open
but we must be sure we've everything ready for that, hence we have to run some
named actions before runnig the global format.
In playing with the form, I discovered that the blur event wasn't triggered when
JS called `setFocus` (because in such a case the mouse was never down). So I removed
the mouseState thing to just use the correct commitKey when blur is triggered by a
TAB key.
calixteman added a commit to calixteman/pdf.js that referenced this issue Dec 13, 2022
… open (issue mozilla#15818)

It's a follow-up of mozilla#14950: some format actions are ran when the document is open
but we must be sure we've everything ready for that, hence we have to run some
named actions before runnig the global format.
In playing with the form, I discovered that the blur event wasn't triggered when
JS called `setFocus` (because in such a case the mouse was never down). So I removed
the mouseState thing to just use the correct commitKey when blur is triggered by a
TAB key.
calixteman added a commit that referenced this issue Dec 13, 2022
[JS] Run the named actions before running the format when the file is open (issue #15818)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants