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 
replyRef,
        pdfManagerMock,
        idFactoryMock
      
      expect(data.stateModel).toBeNull(
      expect(data.state).toBeNull(
    }
    it("should correctly parse state model and state when defined", async function () {
      const annotationRef = Ref.get(819, 0
      const annotationDict = new Dict(
      annotationDict.set("Type", Name.get("Annot")
      annotationDict.set("Subtype", Name.get("Text")
      const replyRef = Ref.get(820, 0
      const replyDict = new Dict(
      replyDict.set("Type", Name.get("Annot")
      replyDict.set("Subtype", Name.get("Text")
      replyDict.set("IRT", annotationRef
      replyDict.set("RT", Name.get("R")
      replyDict.set("StateModel", "Review"
      replyDict.set("State", "Rejected"
      const xref = new XRefMock([
        { ref: annotationRef, data: annotationDict },
        { ref: replyRef, data: replyDict },
      ]
      annotationDict.assignXref(xref
      replyDict.assignXref(xref
      const { data } = await AnnotationFactory.create(
        xref,
        replyRef,
        pdfManagerMock,