Browse Source

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

fix datavalidation errors on fluent theme.
pull/5729/head
Dan Walmsley 5 years ago
committed by GitHub
parent
commit
6506ceb2e5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Avalonia.Themes.Fluent/Controls/DataValidationErrors.xaml

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

Loading…
Cancel
Save