mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
[Annotations] Add support for printing/saving choice list with multiple selections
- it aims to fix issue #12189.
This commit is contained in:
parent
0dd6bc9a85
commit
ad3fb71a02
7 changed files with 355 additions and 33 deletions
|
@ -49,6 +49,9 @@ class EventDispatcher {
|
|||
|
||||
mergeChange(event) {
|
||||
let value = event.value;
|
||||
if (Array.isArray(value)) {
|
||||
return value;
|
||||
}
|
||||
if (typeof value !== "string") {
|
||||
value = value.toString();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue