Browse Source

fix datavalidation errors on fluent theme.

Dan Walmsley 4 years ago
parent
commit
31d7df39c0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Avalonia.Themes.Fluent/Controls/DataValidationErrors.xaml

+ 1 - 1
src/Avalonia.Themes.Fluent/Controls/DataValidationErrors.xaml

@@ -35,7 +35,7 @@
       <ItemsControl Items="{Binding}">
         <ItemsControl.ItemTemplate>
           <DataTemplate>
-            <TextBlock Text="{Binding Message}" Foreground="{DynamicResource SystemControlErrorTextForegroundBrush}" TextWrapping="Wrap" />
+            <TextBlock Text="{Binding }" Foreground="{DynamicResource SystemControlErrorTextForegroundBrush}" TextWrapping="Wrap" />
           </DataTemplate>
         </ItemsControl.ItemTemplate>
       </ItemsControl>