Attach (recommended) or Link to PDF file here:
[multiple.pdf](https://github.com/mozilla/pdf.js/files/6344777/multiple.pdf)

Steps to reproduce the problem:
1. Write something in a field

What is the expected behavior? (add screenshot)
The 3 fields must have the same value

What went wrong? (add screenshot)
The 2 other fields are empty

The three fields share the same name `Text3`.
It works as expected in Adobe and Chrome.
link.href = this.linkService.getAnchorUrl("");
    const map = new Map([
      ["Action", "onclick"],
      ["Mouse Up", "onmouseup"],
      ["Mouse Down", "onmousedown"],
    ]);
    for (const name of Object.keys(data.actions)) {
      const jsName = map.get(name);
      if (!jsName) {
        continue;
      }
      link[jsName] = () => {
        this.linkService.eventBus?.dispatch("dispatcheventinsandbox", {
          source: this,
          detail: {
            id: data.id,
            name,
          },
        });
        return false;
      };
    }
    link.className = "internalLink";
  }
}
class TextAnnotationElement extends AnnotationElement {