Prechádzať zdrojové kódy

Merge pull request #5719 from AvaloniaUI/fixes/data-validation-errors-not-displaying

fix datavalidation errors on fluent theme.
Dan Walmsley 4 rokov pred
rodič
commit
6506ceb2e5

+ 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>