调整了模板
This commit is contained in:
@@ -16,6 +16,7 @@ public partial class UXLineEdit : LineEdit
|
||||
|
||||
private void OnTextChanged(string newText)
|
||||
{
|
||||
if (hints is null) return;
|
||||
if (textValidation is not null && textValidation.IsTextValid(newText,out var errorReason) is false)
|
||||
{
|
||||
hints.Text = $"[color=red]{errorReason}[/color]";
|
||||
|
Reference in New Issue
Block a user