Text Input onChange TextInputChangeEventData native event returns selection data but the TS complains #51020
Labels
Component: TextInput
Related to the TextInput component.
Needs: Author Feedback
Needs: Repro
This issue could be improved with a clear list of steps to reproduce the issue.
Newer Patch Available
Description
The TS complains for the
selection
data in theNativeSyntheticEvent<TextInputChangeEventData>
that it doesn't exist but it logs when you try logging thee.nativeEvent
foronChange
prop of TextInputSteps to reproduce
Code:
React Native Version
0.78.0
Affected Platforms
Runtime - iOS
Output of
npx @react-native-community/cli info
Stacktrace or Logs
MANDATORY Reproducer
NA
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: