From 672560643bcf33f30da97018a73ee4c8bbbae596 Mon Sep 17 00:00:00 2001
From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com>
Date: Sun, 15 Mar 2026 03:40:20 +0800
Subject: [PATCH] fix: Watermark -> Placeholder. (#769)
---
demo/Semi.Avalonia.Demo/Pages/CalendarDatePickerDemo.axaml | 2 +-
demo/Semi.Avalonia.Demo/Pages/IconDemo.axaml | 2 +-
src/Semi.Avalonia/Controls/DatePicker.axaml | 2 +-
src/Semi.Avalonia/Controls/TextBox.axaml | 6 +++---
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/demo/Semi.Avalonia.Demo/Pages/CalendarDatePickerDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/CalendarDatePickerDemo.axaml
index 4730e62..83f4f0a 100644
--- a/demo/Semi.Avalonia.Demo/Pages/CalendarDatePickerDemo.axaml
+++ b/demo/Semi.Avalonia.Demo/Pages/CalendarDatePickerDemo.axaml
@@ -33,6 +33,6 @@
Margin="0,0,0,8"
CustomDateFormatString="ddd, MMM d"
SelectedDateFormat="Custom" />
-
+
\ No newline at end of file
diff --git a/demo/Semi.Avalonia.Demo/Pages/IconDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/IconDemo.axaml
index 0ce6af8..ace0be4 100644
--- a/demo/Semi.Avalonia.Demo/Pages/IconDemo.axaml
+++ b/demo/Semi.Avalonia.Demo/Pages/IconDemo.axaml
@@ -16,7 +16,7 @@
Margin="8"
Classes="ClearButton"
Text="{Binding SearchText}"
- Watermark="Input Icon Name" />
+ PlaceholderText="Input Icon Name" />
-
+
diff --git a/src/Semi.Avalonia/Controls/TextBox.axaml b/src/Semi.Avalonia/Controls/TextBox.axaml
index cc8cc3d..8c12086 100644
--- a/src/Semi.Avalonia/Controls/TextBox.axaml
+++ b/src/Semi.Avalonia/Controls/TextBox.axaml
@@ -67,7 +67,7 @@
VerticalScrollBarVisibility="{TemplateBinding (ScrollViewer.VerticalScrollBarVisibility)}">