Skip to content

Commit

Permalink
Don't ignore empty string for validation
Browse files Browse the repository at this point in the history
  • Loading branch information
enisn committed Apr 27, 2023
1 parent 93a7fa2 commit 2e15af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UraniumUI.Material/Controls/TextField.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private void EntryView_TextChanged(object sender, TextChangedEventArgs e)
UpdateState();
}

if (!string.IsNullOrEmpty(e.NewTextValue))
if (e.NewTextValue != null)
{
CheckAndShowValidations();
}
Expand Down

0 comments on commit 2e15af1

Please sign in to comment.