Skip to main content
Skip table of contents

pdfHTML: Fixed Behavior for <input> Tags with Negative Numbers


The <input> tag is essentially a text box in html, and the value that the tag contains is displayed in that text box. More information about <input> tag can be found here.

Howver, when the tag had the number attribute (<input type="number">) in previous releases, an empty rectangle would be rendered in the resulting PDF. 


However, in the latest release of iText and pdfHTML 3.0.1, this behavior has been fixed and the number is correctly displayed:

Example code

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.