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

Configuration:
- Web browser and its version: Firefox nightly
- Operating system and its version: linux debian
- PDF.js version: built-in viewer
- Is a browser extension: no

Steps to reproduce the problem:
1. Open the pdf page 2
2. Checkbox "Alta" in section 2 must be checked

It works fine with evince.
const selectElement = document.createElement("select");
    GetElementsByNameSet.add(selectElement);
    selectElement.disabled = this.data.readOnly;
    selectElement.name = this.data.fieldName;
    selectElement.setAttribute("id", id);
    selectElement.tabIndex = DEFAULT_TAB_INDEX;
    selectElement.style.fontSize = `${fontSize}px`;
    if (!this.data.combo) {
      
      selectElement.size = this.data.options.length;
      if (this.data.multiSelect) {
        selectElement.multiple = true;
      }
    }
    
    for (const option of this.data.options) {
      const optionElement = document.createElement("option");
      optionElement.textContent = option.displayValue;
      optionElement.value = option.exportValue;
      if (this.data.combo) {
        optionElement.style.fontSize = fontSizeStyle;
      }
      if (this.data.fieldValue.includes(option.exportValue)) {
        optionElement.setAttribute("selected", true);
      }
      selectElement.appendChild(optionElement);
    }
    const getValue = (event, isExport) => {
      const name = isExport ? "value" : "textContent";
      const options = event.target.options;