diff --git a/ReactCommon/react/renderer/components/textinput/androidtextinput/react/renderer/components/androidtextinput/AndroidTextInputProps.h b/ReactCommon/react/renderer/components/textinput/androidtextinput/react/renderer/components/androidtextinput/AndroidTextInputProps.h index f97bed5feaa66a..c07322e75c1b30 100644 --- a/ReactCommon/react/renderer/components/textinput/androidtextinput/react/renderer/components/androidtextinput/AndroidTextInputProps.h +++ b/ReactCommon/react/renderer/components/textinput/androidtextinput/react/renderer/components/androidtextinput/AndroidTextInputProps.h @@ -121,7 +121,7 @@ class AndroidTextInputProps final : public ViewProps, public BaseTextProps { bool disableFullscreenUI{false}; std::string textBreakStrategy{}; SharedColor underlineColorAndroid{}; - std::string accessibilityErrorMessage{""}; + std::string accessibilityErrorMessage{}; std::string inlineImageLeft{}; int inlineImagePadding{0}; std::string importantForAutofill{}; diff --git a/ReactCommon/react/renderer/components/textinput/iostextinput/TextInputProps.cpp b/ReactCommon/react/renderer/components/textinput/iostextinput/TextInputProps.cpp index 327a02d5c6e388..da879a2daa97bf 100644 --- a/ReactCommon/react/renderer/components/textinput/iostextinput/TextInputProps.cpp +++ b/ReactCommon/react/renderer/components/textinput/iostextinput/TextInputProps.cpp @@ -92,7 +92,7 @@ TextInputProps::TextInputProps( rawProps, "accessibilityErrorMessage", sourceProps.accessibilityErrorMessage, - "")), + {})), inputAccessoryViewID(convertRawProp( context, rawProps,