From 2506b5dc2ed57f3ce6fa319483455bd358ae541a Mon Sep 17 00:00:00 2001 From: James Yeung Date: Mon, 28 Nov 2022 17:44:05 +0800 Subject: [PATCH] fix(module: input): when its value is changed in code, it would rollback on click (#2906) --- components/input/Input.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/components/input/Input.cs b/components/input/Input.cs index fa4e5002..1737fed5 100644 --- a/components/input/Input.cs +++ b/components/input/Input.cs @@ -526,6 +526,7 @@ namespace AntDesign protected override void OnValueChange(TValue value) { + _inputString = CurrentValueAsString; base.OnValueChange(value); if (OnChange.HasDelegate) {