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);