From 5202669adb369b364b1c72e90a24e0fb80db5b1c Mon Sep 17 00:00:00 2001 From: Jayanthi Sourirajan <88632084+soujay@users.noreply.github.com> Date: Sat, 6 Jan 2024 07:14:21 -0800 Subject: [PATCH 1/2] Add keydownevent to handle indeterminate state --- .../UI/InstanceAdd/ServiceControlAddView.xaml | 4 ++-- .../UI/InstanceAdd/ServiceControlAddView.xaml.cs | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/ServiceControl.Config/UI/InstanceAdd/ServiceControlAddView.xaml b/src/ServiceControl.Config/UI/InstanceAdd/ServiceControlAddView.xaml index 31710bbb98..c2c128a7a0 100644 --- a/src/ServiceControl.Config/UI/InstanceAdd/ServiceControlAddView.xaml +++ b/src/ServiceControl.Config/UI/InstanceAdd/ServiceControlAddView.xaml @@ -78,7 +78,7 @@ Foreground="{StaticResource ErrorBrush}" Text="Must select either an audit or an error instance." /> - + @@ -240,7 +240,7 @@ - + chk.IsChecked = false; + } } } \ No newline at end of file From 1ab434dfd463938e5f371aba29edeb9e3c1832df Mon Sep 17 00:00:00 2001 From: Jayanthi Sourirajan <88632084+soujay@users.noreply.github.com> Date: Sun, 7 Jan 2024 08:24:06 -0800 Subject: [PATCH 2/2] handle checked event --- .../UI/InstanceAdd/ServiceControlAddView.xaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ServiceControl.Config/UI/InstanceAdd/ServiceControlAddView.xaml b/src/ServiceControl.Config/UI/InstanceAdd/ServiceControlAddView.xaml index c2c128a7a0..fc24494c94 100644 --- a/src/ServiceControl.Config/UI/InstanceAdd/ServiceControlAddView.xaml +++ b/src/ServiceControl.Config/UI/InstanceAdd/ServiceControlAddView.xaml @@ -78,7 +78,7 @@ Foreground="{StaticResource ErrorBrush}" Text="Must select either an audit or an error instance." /> - + @@ -240,7 +240,7 @@ - +