fix(module: input): can't change value on blur when composition inputting (#3462)

This commit is contained in:
James Yeung 2023-10-21 14:16:30 +08:00 committed by GitHub
parent f469aea9a7
commit bb0e043b07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -452,6 +452,8 @@ namespace AntDesign
_compositionInputting = false;
}
ChangeValue(true);
if (OnBlur.HasDelegate)
{
await OnBlur.InvokeAsync(e);
@ -544,7 +546,7 @@ namespace AntDesign
return;
}
if (!_compositionInputting)
if (!_compositionInputting && CurrentValueAsString != _inputString)
{
CurrentValueAsString = _inputString;
}