unidoc / unipdf

Golang PDF library for creating and processing PDF files (pure go)
https://unidoc.io
Other
2.54k stars 250 forks source link

[BUG] It is not filling select/choice fields #341

Closed rafaelsanzio closed 4 years ago

rafaelsanzio commented 4 years ago

297 Description

I am trying to fill a pdf with a select/choice by using pdf_form_fill_json.go , however it is not filling.

I haven't got any error, just a log: [DEBUG] logging.go:125 Unexpected string for button/choice field. Converting to name: 'RJ'

Expected Behavior

I expected that the fields were filled with an option selected

Actual Behavior

Steps to reproduce the behavior: I am trying to run a field pdf and got this debug and the field select/choice is not filled

I haven't got any error, just a log: [DEBUG] logging.go:125 Unexpected string for button/choice field. Converting to name: 'RJ'

Attachments

teste.json.txt teste.pdf

github-actions[bot] commented 4 years ago

Welcome! Thanks for posting your first issue. The way things work here is that while customer issues are prioritized, other issues go into our backlog where they are assessed and fitted into the roadmap when suitable. If you need to get this done, consider buying a license which also enables you to use it in your commercial products. More information can be found on https://unidoc.io/

gunnsth commented 4 years ago

@rafaelsanzio This has been resolved by #370 and is available in development branch. Can you confirm?