Render not displayed annotations in using normal appearance when printing

This commit is contained in:
Calixte Denizet 2020-09-19 17:47:38 +02:00
parent b2a4dacd31
commit 6be2f84b4e
6 changed files with 204 additions and 6 deletions

View file

@ -720,7 +720,7 @@ class ChoiceWidgetAnnotationElement extends WidgetAnnotationElement {
// used and the full array of field values is stored.
storage.getOrCreateValue(
id,
this.data.fieldValue.length > 0 ? this.data.fieldValue[0] : null
this.data.fieldValue.length > 0 ? this.data.fieldValue[0] : undefined
);
const selectElement = document.createElement("select");