React Native version: 0.61.4
Steps To Reproduce
- Create a
TextInput component:
<TextInput
onChangeText={setValue}
value={value}
/>
- In iOS settings > general > keyboard make sure that
"." Shortcut is on.
- make sure "Check Spelling" is on.
- make sure at least one thing is available in "Text Replacement" (omw should be there by default)
- within the text input you created type some misspelled text.
- press space twice after your text
- type the text replacement shortcut
Describe what you expected to happen:
- Miss-spelled text should have a red underline
- there should be a period when space is pressed twice
- text replacement shortcut should be replaced with its matching text.
The above will not be true when using value on a TextInput. If you remove the value prop and have the component uncontrolled the above all works as expected. Also, if the component is made multiline the above all work as expected, even in the controlled case.
Snack, code example, screenshot, or link to a repository:
https://snack.expo.io/H18J_rWlI
React Native version:
0.61.4Steps To Reproduce
TextInputcomponent:"." Shortcutis on.Describe what you expected to happen:
The above will not be true when using
valueon aTextInput. If you remove the value prop and have the component uncontrolled the above all works as expected. Also, if the component is mademultilinethe above all work as expected, even in the controlled case.Snack, code example, screenshot, or link to a repository:
https://snack.expo.io/H18J_rWlI