1
0
Fork 0
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:
Calixte Denizet 2023-02-19 16:33:05 +01:00
parent 255e982542
commit dca54c8f8a
4 changed files with 42 additions and 1 deletions

View file

@ -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) {