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 
continue;
      }
      if (!this._document.obj.calculate) {
        
        continue;
      }
      event.value = null;
      const target = this._objects[targetId];
      this.runActions(source, target, event, "Calculate");
      if (!event.rc) {
        continue;
      }
      if (event.value !== null) {
        target.wrapped.value = event.value;
      }
      event.value = target.obj.value;
      this.runActions(target, target, event, "Validate");
      if (!event.rc) {
        continue;
      }
      event.value = target.obj.value;
      this.runActions(target, target, event, "Format");
      if (event.value !== null) {
        target.wrapped.valueAsString = event.value;
      }
    }
  }
}
export { Event, EventDispatcher };