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 
} else {
        
        
        source.obj._send({
          id: source.obj._id,
          value: "",
          selRange: [0, 0],
        });
      }
    }
  }
  runValidation(source, event) {
    const hasRan = this.runActions(source, source, event, "Validate");
    if (event.rc) {
      if (hasRan) {
        source.wrapped.value = event.value;
        source.wrapped.valueAsString = event.value;
      } else {
        source.obj.value = event.value;
        source.obj.valueAsString = event.value;
      }
      if (this._document.obj.calculate) {
        this.runCalculate(source, event);
      }
      event.value = source.obj.value;
      this.runActions(source, source, event, "Format");
      source.wrapped.valueAsString = event.value;
    }
  }
  runActions(source, target, event, eventName) {