Skip to content

Commit

Permalink
🐛 fix(TextField): clicking the clear button doesn't work when there i…
Browse files Browse the repository at this point in the history
…s no ValueChanged
  • Loading branch information
capdiem committed Jul 15, 2024
1 parent a1ac3d5 commit c197a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Masa.Blazor/Components/Input/MInput.Validatable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ protected virtual void OnInternalValueChange(TValue? val)
{
_internalValueChangingFromOnValueChanged = false;
}
else if (ValueChanged.HasDelegate)
else
{
if (_changeType != InternalValueChangeType.Input && !DisableSetValueByJsInterop)
{
Expand Down

0 comments on commit c197a04

Please sign in to comment.