diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index be05bc51078153..bc3efcec4f46fa 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -402,6 +402,14 @@ type AndroidProps = $ReadOnly<{| */ disableFullscreenUI?: ?boolean, + /** + * String to be read by screenreaders to indicate an error state. If this value is + * not null, an error will be announced. You can use onChangeText or onBlur to + * detect an error and set this prop. Once the error is gone, set this to null + * to clear the error + */ + android_errorMessage?: ?Stringish, + importantForAutofill?: ?( | 'auto' | 'no' @@ -1281,7 +1289,6 @@ function InternalTextInput(props: Props): React.Node { * match up exactly with the props for TextInput. This will need to get * fixed */