Cannot set value on ChoiceField #287
-
Hi,
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Since the I'm not sure, though, why |
Beta Was this translation helpful? Give feedback.
-
Hi,
|
Beta Was this translation helpful? Give feedback.
-
Since the I'm not sure, though, why |
Beta Was this translation helpful? Give feedback.
Thanks for sending the PDF!
The reason why this doesn't work is that the field has multiple widget annotations and the /Opt key is not set on the field itself but on the widget annotations.
I'm not sure if this is standards conform. And there is also the problem if the /Opt keys of multiple widgets don't agree on the allowed values.
To circumvent this problem, I will add a provision to HexaPDF to move the /Opt key of one of the widgets to the field itself and then delete all /Opt keys from the widgets.