Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChoiceWidgetAnnotationElement should support EDIT flag on the ChoiceWidget #17471

Closed
farling42 opened this issue Dec 28, 2023 · 1 comment
Closed

Comments

@farling42
Copy link

farling42 commented Dec 28, 2023

When the "Allow user to enter custom text" is ticked on a dropdown list, the generated HTML should probably be input(text) + datalist rather than a select element for the generated HTML. (see https://community.adobe.com/t5/acrobat-discussions/learn-how-to-create-a-dropdown-list-in-a-pdf-form/td-p/10985058 for where that option is described for Adobe PDF editor).

Currently the EDIT flag is ignored, so the user can only select an entry from the predefined list.

(In my simple testing, the fieldFlags had the value 0x420000 when no custom text is allowed, but the value 0x460000 when custom text is allowed. This corresponds to AnnotationFieldFlag.EDIT

Example PDF can be found at https://mrgone.rocksolidshells.com/pdf/VtM/VampireRev4-Page_Editable.pdf

On page 1, the fields Clan/Generation/Sire at the top of the first page have dropdown lists which allow custom text.
On page 2, the "Bonus" column in the top section contain dropdown lists that do NOT allow custom text.

@Snuffleupagus
Copy link
Collaborator

Duplicate of #10669.


For future reference: Please remember to fill out the ISSUE_TEMPLATE when reporting an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants