working cross validation
MODIFY
WalletWasabi.Fluent/AddWallet/Common/EnterPasswordViewModel.cs
WalletWasabi.Fluent/AddWallet/Common/EnterPasswordViewModel.cs
@@ -120,6 +120,12 @@ namespace WalletWasabi.Fluent.AddWallet.Common
if (!string.IsNullOrEmpty(Password) && !string.IsNullOrEmpty(ConfirmPassword))
{
IsPasswordConfirmed = true;
+
+ if (Validations is Validations validations)
+ {
+ validations.ClearErrors(nameof(Password));
+ validations.ClearErrors(nameof(ConfirmPassword));
+ }
}
}
}

MODIFY
WalletWasabi.Gui/Validation/Validations.cs
WalletWasabi.Gui/Validation/Validations.cs
@@ -74,9 +74,9 @@ namespace WalletWasabi.Gui.Validation
: ErrorDescriptors.Empty;
}
- private void ClearErrors(string propertyName)
+ public void ClearErrors(string propertyName)
{
- if (ErrorsByPropertyName.ContainsKey(propertyName))
+ if (ErrorsByPropertyName.ContainsKey(propertyName) && ErrorsByPropertyName[propertyName].Any())
{
ErrorsByPropertyName[propertyName].Clear();

working cross validation