mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
Use the same kind of strings for radio values
This commit is contained in:
parent
558d3870d3
commit
d51e7e86ff
2 changed files with 35 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue