mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-13 06:12:19 +00:00
The click queued the clicked list box's own option positions under the shared field name, but set_value reads ChoiceIndices in the first field of that name. A twin listing options that share an export value in another order therefore gave the first field the option at the same position, not the one clicked. The UI now maps the twin's picks to the first field's positions by export value and text (Field::positions_in, the same matching the engine uses to copy /I to twins), falling back to the export values when an option has no match there. (review) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyCfwzyRXj4VfQAVVdv