From b65ee7d57b65c457343e5eeb921752453b8cb914 Mon Sep 17 00:00:00 2001 From: kzl Date: Fri, 22 Nov 2024 09:52:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=9C=A8B=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E9=87=8C=E6=93=8D=E4=BD=9CA=E6=96=87=E6=9C=AC=E6=A1=86?= =?UTF-8?q?=E7=9A=84resetValue=E6=88=96=E8=80=85clearValue=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E5=A4=B1=E7=84=A6=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=8C?= =?UTF-8?q?=E5=8F=AF=E8=83=BD=E5=BC=95=E5=8F=91=E5=A4=9A=E6=AC=A1=E5=A4=B1?= =?UTF-8?q?=E5=8E=BB=E7=84=A6=E7=82=B9=E4=BA=8B=E4=BB=B6=20(#11236)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis/src/renderers/Form/InputText.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/amis/src/renderers/Form/InputText.tsx b/packages/amis/src/renderers/Form/InputText.tsx index 851a0955d..3f1ff16f4 100644 --- a/packages/amis/src/renderers/Form/InputText.tsx +++ b/packages/amis/src/renderers/Form/InputText.tsx @@ -335,7 +335,7 @@ export default class TextControl extends React.PureComponent< inputValue: pristineVal }, () => { - this.focus(); + //this.focus(); this.loadAutoComplete(); } ); @@ -373,7 +373,7 @@ export default class TextControl extends React.PureComponent< inputValue: resetValue }, () => { - this.focus(); + //this.focus(); this.loadAutoComplete(); } );