You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
I am not sure if it is one bug or two. For that reason I will open only one ticket by today. If you think I should divide it I will open a second issue.
Steps to Reproduce
Steps to reproduce the behavior:
Issue 1:
Create a new Project and use ObservableValidator in your ViewModel
Add two different Properties which are required. Make use of The field {0} is required and let the validator replace {0} by the DisplayName.
Notice that both fields get the same message
Issue 2;
Create a new Project and use ObservableValidator in your ViewModel
Do a class-level valididation
The user will get every issue twice.
Expected behavior
The messages should not be reused and every field should get its own message as it was in preview4. Moreover if you perform a class-level-validation every message should be displayed only one time.
Screenshots
Issue 1
Field 1:
Field 2:
Issue 2:
Environment
NuGet Package(s):
Id Versions ProjectName
-- -------- -----------
MahApps.Metro {2.4.3} MvvmToolkitValidationSample
Microsoft.Toolkit.Mvvm {7.0.0-build.848} MvvmToolkitValidationSample
Package Version(s):
Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] May 2020 Update (19042)
- [x] 20H2 (19042.804)
- [ ] Insider Build (build number: )
App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] May 2020 Update (19041)
- [ ] Insider Build (xxxxx)
- [X] WPF
Device form factor:
- [X] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT
Visual Studio
- [ ] 2017 (version: )
- [X] 2019 (version: 16.8.5)
- [ ] 2019 Preview (version: )
Describe the bug
I am not sure if it is one bug or two. For that reason I will open only one ticket by today. If you think I should divide it I will open a second issue.
Steps to Reproduce
Steps to reproduce the behavior:
Issue 1:
ObservableValidatorin yourViewModelThe field {0} is requiredand let the validator replace {0} by theDisplayName.Issue 2;
ObservableValidatorin yourViewModelExpected behavior
The messages should not be reused and every field should get its own message as it was in preview4. Moreover if you perform a class-level-validation every message should be displayed only one time.
Screenshots
Issue 1
Field 1:

Field 2:

Issue 2:

Environment
Additional context
The shown sample is available here: https://github.com/timunie/MvvmToolkitValidationSample
/cc @Sergio0694