1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 09:38:06 +02:00

JS -- update radio/checkbox values even if there are no actions

This commit is contained in:
Calixte Denizet 2021-01-08 16:43:16 +01:00
parent 35845d1bbb
commit 7172f0a928
5 changed files with 65 additions and 35 deletions

View file

@ -1986,7 +1986,7 @@ class ButtonWidgetAnnotation extends WidgetAnnotation {
}
return {
id: this.data.id,
value: this.data.fieldValue || null,
value: this.data.fieldValue || "Off",
defaultValue: this.data.defaultFieldValue,
exportValues,
editable: !this.data.readOnly,