From 41f1611e535f5cceb927c7650f3e3c8db798df1f Mon Sep 17 00:00:00 2001 From: Will Ehrendreich <55286472+WillEhrendreich@users.noreply.github.com> Date: Wed, 6 May 2026 12:40:01 -0500 Subject: [PATCH] Modify focus events for TextBox B Updated focus handling for TextBox B to set focus state. --- docs/common-questions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/common-questions.md b/docs/common-questions.md index c7643304..c1adec07 100644 --- a/docs/common-questions.md +++ b/docs/common-questions.md @@ -131,8 +131,8 @@ Component.create ("view", fun ctx -> ] TextBox.create [ TextBox.init textBoxB.Set - TextBox.onGotFocus (fun _ -> textBoxAFocus.Set true) - TextBox.onLostFocus (fun _ -> textBoxAFocus.Set false) + TextBox.onGotFocus (fun _ -> textBoxBFocus.Set true) + TextBox.onLostFocus (fun _ -> textBoxBFocus.Set false) ] StackPanel.create [ StackPanel.orientation Orientation.Horizontal