1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Use the same kind of strings for radio values

This commit is contained in:
Calixte Denizet 2020-09-16 18:47:25 +02:00
parent 558d3870d3
commit d51e7e86ff
2 changed files with 35 additions and 1 deletions

View file

@ -1760,7 +1760,7 @@ class ButtonWidgetAnnotation extends WidgetAnnotation {
}
for (const key of normalAppearance.getKeys()) {
if (key !== "Off") {
this.data.buttonValue = key;
this.data.buttonValue = this._decodeFormValue(key);
break;
}
}