Skip to content

Commit 39f9485

Browse files
committed
fix textfield children get written out to the pdf file twice
1 parent 348421a commit 39f9485

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/modules/acroform.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2687,7 +2687,8 @@ AcroFormTextFieldParent.prototype.createChild = function() {
26872687
var child = new AcroFormTextFieldChild();
26882688
child.Parent = this;
26892689
this.Kids.push(child);
2690-
addField.call(this.scope, child);
2690+
2691+
child.page = this.scope.internal.getCurrentPageInfo().pageNumber;
26912692

26922693
return child;
26932694
};

0 commit comments

Comments
 (0)