From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id E08481FF129 for ; Fri, 17 Jul 2026 14:56:28 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 935012140A; Fri, 17 Jul 2026 14:56:28 +0200 (CEST) From: Dominik Csapak To: yew-devel@lists.proxmox.com Subject: [PATCH yew-widget-toolkit 1/4] widget: form: radio button: fix property comments Date: Fri, 17 Jul 2026 14:55:28 +0200 Message-ID: <20260717125555.2898147-2-d.csapak@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260717125555.2898147-1-d.csapak@proxmox.com> References: <20260717125555.2898147-1-d.csapak@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.287 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_LOW -0.7 Sender listed at https://www.dnswl.org/, low trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: DVTO5DZ6LR2AMZ73P2H7TXKJTNZFKALN X-Message-ID-Hash: DVTO5DZ6LR2AMZ73P2H7TXKJTNZFKALN X-MailFrom: d.csapak@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Yew framework devel list at Proxmox List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: They were copied from the checkbox, but not updated. Change the 'checkbox' mentions to 'radio button' Signed-off-by: Dominik Csapak --- src/widget/form/radio_button.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/widget/form/radio_button.rs b/src/widget/form/radio_button.rs index 753a71c..1f409c2 100644 --- a/src/widget/form/radio_button.rs +++ b/src/widget/form/radio_button.rs @@ -69,14 +69,14 @@ pub struct RadioButton { /// /// Called on user interaction: /// - /// - Click on the checkbox. + /// - Click on the radio button. /// - Click on the associated input label. /// - Activation by keyboard (space press). #[builder_cb(IntoEventCallback, into_event_callback, String)] #[prop_or_default] pub on_input: Option>, - /// A right side label for the checkbox, to display additional information + /// A right side label for the radio button, to display additional information #[prop_or_default] pub box_label: Option, } @@ -102,7 +102,7 @@ impl RadioButton { /// Method to set the box label. /// - /// A right side label for the checkbox to display additional information + /// A right side label for the radio buton to display additional information pub fn set_box_label(&mut self, box_label: impl Into) { self.box_label = Some(box_label.into()); } -- 2.47.3