Skip to content

Commit

Permalink
Fixed missing notification (inspired by InputKit.Shared.Controls.Adva…
Browse files Browse the repository at this point in the history
…ncedEntry.CheckAndDisplayValidations())
  • Loading branch information
TheJohnny99 committed Apr 12, 2024
1 parent 962fc6a commit 92e347d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/UraniumUI.Material/Controls/InputField.Validation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ protected virtual void CheckAndShowValidations()
{
endIconsContainer.Remove(iconValidation.Value);
this.Remove(labelValidation.Value);
}
OnPropertyChanged(nameof(IsValid));
}
}
else
{
Expand All @@ -66,7 +67,8 @@ protected virtual void CheckAndShowValidations()
{
endIconsContainer.Add(iconValidation.Value);
this.Add(labelValidation.Value, row: 1);
}
OnPropertyChanged(nameof(IsValid));
}
}
}

Expand Down

0 comments on commit 92e347d

Please sign in to comment.