From 541fdcd9b3e6fe47bf4e25adc8a87d51015c0b06 Mon Sep 17 00:00:00 2001 From: Tu Nguyen Date: Fri, 20 Sep 2024 11:57:57 +0700 Subject: [PATCH] also verify the id when toggling checkbox --- ui/debug_page.slint | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/debug_page.slint b/ui/debug_page.slint index 8060a18..1ff4cca 100644 --- a/ui/debug_page.slint +++ b/ui/debug_page.slint @@ -62,6 +62,9 @@ export component CanTransmitData inherits Rectangle { HorizontalLayout { is_extended := MyCheckBox { text: "Extended Frame"; + toggled(en) => { + can_id_check = can_id_check_string(en, can_id.text); + } } can_id := LineEdit { width: 200px;