Compare commits

...
Author SHA1 Message Date
Martin BallandClaude Opus 5.5 6e2b519b3e Merge to New Document / Printer: the To: box gets its caption back (#7976)
The second record-range box drew no caption; its "To:" was only the
accessible name. Wrap it in `labelled`, as Find Recipient and Insert
Merge Field already are. The first box keeps the From: radio as its
caption.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx
2026-12-02 00:49:06 +00:00
+3 -1
View File
@@ -274,7 +274,9 @@ impl WordForm for MergeRecordsForm {
self.from = v;
self.choice = 2;
}
if let Some(v) = NumberField::new(tl!("To:"), Bind::given(self.to)).show(ui).value().copied() {
// The From: radio captions the first box; the second needs its own (#7976).
let to = self.to;
if let Some(v) = labelled(ui, tl!("To:"), |name, ui| NumberField::new(name, Bind::given(to)).show(ui).value().copied()).flatten() {
self.to = v;
self.choice = 2;
}