Files
pdfcraft/crates/js
bmh129andClaude Opus 5.5 116224fa72 fix(js): a value a script assigns with field.value is shown through the field's Format script (#9140) (#9141)
* fix(js): a value a script assigns with field.value is shown through the field's Format script (#9140)

Only Calculate results were marked for redrawing through the Format script, so a button that copied
138 into a currency field drew "138" instead of "$ 138.00". The field.value setter now marks the
field formatted as well; the stored value is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Rvu8dYQi7eW7nr4gjv2mgG

* fix(forms): a check box or radio button a script sets keeps its state appearances (#9140)

The Format redraw draws one text appearance and removes /AS, so a script assigning a check box's
value would have lost its on and off faces. Only text and combo boxes are redrawn through Format.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Rvu8dYQi7eW7nr4gjv2mgG

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-12-04 12:00:15 +01:00
..