Skip to content

Commit 9abdfe4

Browse files
author
Eugene Bochilo
committed
Finalize multiline text form field drawing
DEVSIX-7441
1 parent ccb25f9 commit 9abdfe4

15 files changed

+2
-2
lines changed

src/main/java/com/itextpdf/html2pdf/attach/impl/tags/InputTagWorker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public InputTagWorker(IElementNode element, ProcessorContext context) {
9393
formElement = new InputField(name);
9494

9595
// Default html2pdf input field appearance differs from the default one for form fields.
96-
// That's why we need to get rid of all properties we set by default during InputField instance creation.
96+
// That's why we need to get rid of several properties we set by default during InputField instance creation.
9797
formElement.deleteOwnProperty(Property.BOX_SIZING);
9898

9999
value = preprocessInputValue(value, inputType);

src/main/java/com/itextpdf/html2pdf/attach/impl/tags/TextAreaTagWorker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public TextAreaTagWorker(IElementNode element, ProcessorContext context) {
7676
textArea.setProperty(FormProperty.FORM_ACCESSIBILITY_LANGUAGE, element.getAttribute(AttributeConstants.LANG));
7777

7878
// Default html2pdf text area appearance differs from the default one for form fields.
79-
// That's why we need to get rid of all properties we set by default during TextArea instance creation.
79+
// That's why we need to get rid of several properties we set by default during TextArea instance creation.
8080
textArea.deleteOwnProperty(Property.BOX_SIZING);
8181

8282
String placeholder = element.getAttribute(AttributeConstants.PLACEHOLDER);

0 commit comments

Comments
 (0)