The test file at https://github.com/mozilla/pdf.js/blob/master/test/pdfs/annotation-choice-widget.pdf contains listboxes, which are not rendered correctly when printed right now. These kinds of fields are made by https://github.com/mozilla/pdf.js/blob/master/src/display/annotation_layer.js#L672-L678.

/cc @calixteman 
return AnnotationFactory.create(
            xref,
            choiceWidgetRef,
            pdfManagerMock,
            idFactoryMock
          ).then(({ data }) => {
            expect(data.annotationType).toEqual(AnnotationType.WIDGET
            expect(data.fieldValue).toEqual(outputs[i]
          }
        }
      }
      await promise;
    }
    it("should handle unknown flags", async function () {
      const choiceWidgetRef = Ref.get(166, 0
      const xref = new XRefMock([
        { ref: choiceWidgetRef, data: choiceWidgetDict },
      ]
      const { data } = await AnnotationFactory.create(
        xref,
        choiceWidgetRef,
        pdfManagerMock,
        idFactoryMock
      
      expect(data.annotationType).toEqual(AnnotationType.WIDGET
      expect(data.readOnly).toEqual(false
      expect(data.hidden).toEqual(false
      expect(data.combo).toEqual(false
      expect(data.multiSelect).toEqual(false
    }