1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

XFA - Enable disabled fields (bug 1719464)

- it's a workaround in waiting for JS implementation to let the use fill manually some fields.
This commit is contained in:
Calixte Denizet 2021-07-07 18:46:43 +02:00
parent b2b7806cab
commit d9a776caf8
3 changed files with 21 additions and 6 deletions

View file

@ -538,6 +538,8 @@ function fixTextIndent(styles) {
function setAccess(node, classNames) {
switch (node.access) {
case "nonInteractive":
classNames.push("xfaNonInteractive");
break;
case "readOnly":
classNames.push("xfaReadOnly");
break;