From ec2202e2ef7ca32dde79ec030cca6fe9cf13ad30 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Fri, 25 Jul 2025 06:01:15 +0000
Subject: [PATCH 1/4] Initial plan
From 2d2f2afec1f32630cb27fa761342d76bcbab8284 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Fri, 25 Jul 2025 06:10:49 +0000
Subject: [PATCH 2/4] Add ClearButton support for TextArea with ClearButton
class combination
Co-authored-by: zdpcdt <54255897+zdpcdt@users.noreply.github.com>
---
demo/Semi.Avalonia.Demo/Pages/TextBoxDemo.axaml | 1 +
src/Semi.Avalonia/Controls/TextBox.axaml | 16 ++++++++++++++++
2 files changed, 17 insertions(+)
diff --git a/demo/Semi.Avalonia.Demo/Pages/TextBoxDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/TextBoxDemo.axaml
index 025216f..2ba6d0b 100644
--- a/demo/Semi.Avalonia.Demo/Pages/TextBoxDemo.axaml
+++ b/demo/Semi.Avalonia.Demo/Pages/TextBoxDemo.axaml
@@ -48,6 +48,7 @@
IsEnabled="False" />
+
+
+
+
+
+
+
-
-
-
@@ -178,6 +170,9 @@
+
-
-
-
@@ -394,6 +381,9 @@
+
-
+
-
+
+
+
+
+
@@ -374,16 +391,15 @@
-
+
-
+
+
+
+
+
@@ -554,4 +588,4 @@
-
+
\ No newline at end of file