-
Notifications
You must be signed in to change notification settings - Fork 24.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TextInput Bug - React Native ^0.54 #18844
Comments
Same Problem.
The TextInput value should always be "Hello", but it doesn't. React-native version: |
Also facing the same issue on iOS. I had a validation with textInput and it changes the value state, but on iOS the value property is being overriden by the original(should be the validated value from state) value. It works fine on Android though. |
This doesn't seem to be a problem in version 0.51 and older but got regressed in the newer version of react native. <TextInput onChangeText={(text) => this.setState({text: "Hello"})} value={this.state.text} > |
Same here. |
Any fixes? |
Same. This also affects react-native-masked-text |
Same Problem. |
No Problem: Cause Problem: |
Probably being solved in this PR: #18278. There are many separate bug reports for the same bug in TextInput. |
Faced same problem in 0.55.4 What is the stable version for this fix? Should we go for 0.56 ? |
I got the same problem in 0.56.0 but in 0.57.0 it is solved. |
Given the inactivity and that latest comments say that is fixed on 0.57 I'm going to close this. Please open a new issue following the template if needed. |
Environment:
OS: macOS Sierra 10.12.6
Node: 8.9.4
Yarn: 0.24.6
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.3 Build version 9E145
Packages: (wanted => installed)
react: ^16.3.0-alpha.1
react-native: ^0.54.4
I am using code example from https://facebook.github.io/react-native/docs/textinput.html, but I change value to "HARD CODE". If I try on the website, I cannot change the value. However, if i make one on my project, i can change the value.
The text was updated successfully, but these errors were encountered: