From ced0433b6626dcb2158bc6fa42e4f500320e31aa Mon Sep 17 00:00:00 2001 From: zhongjianfei Date: Fri, 17 Sep 2021 14:35:20 +0000 Subject: [PATCH] update frameworks/bridge/declarative_frontend/jsview/js_textinput.cpp. Signed-off-by: zhongjianfei Change-Id: I5883e8e432b34bdb8819ca2e006d55717bbfa374 --- frameworks/bridge/declarative_frontend/jsview/js_textinput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/bridge/declarative_frontend/jsview/js_textinput.cpp b/frameworks/bridge/declarative_frontend/jsview/js_textinput.cpp index c353b72b..3db1f918 100644 --- a/frameworks/bridge/declarative_frontend/jsview/js_textinput.cpp +++ b/frameworks/bridge/declarative_frontend/jsview/js_textinput.cpp @@ -31,7 +31,7 @@ void JSTextInput::JSBind(BindingTarget globalObj) JSClass::Declare("TextInput"); MethodOptions opt = MethodOptions::NONE; JSClass::StaticMethod("create", &JSTextInput::Create, opt); - JSClass::StaticMethod("textInpuutType", &JSTextInput::SetType); + JSClass::StaticMethod("textInputType", &JSTextInput::SetType); JSClass::StaticMethod("placeholderColor", &JSTextInput::SetPlaceholderColor); JSClass::StaticMethod("placeholderFont", &JSTextInput::SetPlaceholderFont); JSClass::StaticMethod("enterKeyType", &JSTextInput::SetEnterKeyType);