mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-03 12:37:40 +08:00
fix(module: input): can't change value on blur when composition inputting (#3462)
This commit is contained in:
parent
f469aea9a7
commit
bb0e043b07
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user