From 1003b1cf34f222f9332f5e694d429d965ae2352b Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Wed, 16 Nov 2022 12:02:58 -0800 Subject: [PATCH] Fix missing 'id' and 'tabIndex' support for TextInput --- Libraries/Components/TextInput/TextInput.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index b0fa1a8b7f2e59..adf7e3945d76ec 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -1079,6 +1079,9 @@ function InternalTextInput(props: Props): React.Node { 'aria-expanded': ariaExpanded, 'aria-selected': ariaSelected, accessibilityState, + id, + tabIndex, + ...otherProps } = props; const inputRef = useRef>>(null); @@ -1436,15 +1439,16 @@ function InternalTextInput(props: Props): React.Node { textInput = (