mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Back out "1/2 TextInput accessibilityErrorMessage (Talkback, Android)"
Summary: This diff is reverting PR https://github.com/facebook/react-native/pull/33468 Due to an increase of java.lang.IllegalStateException caused by the PR Original commit changeset: cd80e9a1be8f Original Phabricator Diff: D38410635 Changelog: [Android][Fixed] - removed logic that calls the [AccessibilityNodeInfo#setError][10] and [#setContentInvalid][13] method to display the error message in the TextInput - Revert of PR https://github.com/facebook/react-native/pull/33468 Reviewed By: NickGerleman, makovkastar Differential Revision: D44032331 fbshipit-source-id: 732ed0cf23e4f30ae00c51dace851a3fdfe65c01
This commit is contained in:
committed by
Facebook GitHub Bot
parent
21d530208f
commit
ca0d565a3c
@@ -166,14 +166,6 @@ export type NativeProps = $ReadOnly<{|
|
||||
'off',
|
||||
>,
|
||||
|
||||
/**
|
||||
* String to be read by screenreaders to indicate an error state. The acceptable parameters
|
||||
* of accessibilityErrorMessage is a string. Setting accessibilityInvalid to true activates
|
||||
* the error message. Setting accessibilityInvalid to false removes the error message.
|
||||
*/
|
||||
accessibilityErrorMessage?: ?Stringish,
|
||||
accessibilityInvalid?: ?boolean,
|
||||
|
||||
/**
|
||||
* Sets the return key to the label. Use it instead of `returnKeyType`.
|
||||
* @platform android
|
||||
@@ -738,8 +730,6 @@ export const __INTERNAL_VIEW_CONFIG: PartialViewConfig = {
|
||||
inlineImageLeft: true,
|
||||
editable: true,
|
||||
fontVariant: true,
|
||||
accessibilityErrorMessage: true,
|
||||
accessibilityInvalid: true,
|
||||
borderBottomRightRadius: true,
|
||||
borderBottomColor: {
|
||||
process: require('../../StyleSheet/processColor').default,
|
||||
|
||||
Reference in New Issue
Block a user