[
https://issues.apache.org/jira/browse/PDFBOX-3827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-3827:
------------------------------------
Attachment: SO44456172-AcroForm.pdf
> Setting empty values on listbox keeps marked item
> -------------------------------------------------
>
> Key: PDFBOX-3827
> URL: https://issues.apache.org/jira/browse/PDFBOX-3827
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm
> Affects Versions: 2.0.6
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Fix For: 2.0.7, 3.0.0
>
> Attachments: SO44456172-AcroForm.pdf
>
>
> {code:java}
> PDListBox multiListBox = (PDListBox) acroForm.getField("multiple_listbox");
> multiListBox.setValue(new ArrayList<>());
> {code}
> When looking at the file with Adobe Reader, there is still an element
> selected.
> The cause is that the /I entry isn't removed.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]