mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
[JS] Send a Validate action on change on Choice widget
This commit is contained in:
parent
255e982542
commit
dca54c8f8a
4 changed files with 42 additions and 1 deletions
|
@ -1765,8 +1765,9 @@ class ChoiceWidgetAnnotationElement extends WidgetAnnotationElement {
|
|||
["mouseleave", "Mouse Exit"],
|
||||
["mouseup", "Mouse Up"],
|
||||
["input", "Action"],
|
||||
["input", "Validate"],
|
||||
],
|
||||
event => event.target.checked
|
||||
event => event.target.value
|
||||
);
|
||||
} else {
|
||||
selectElement.addEventListener("input", function (event) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue