Closed eyaleizenberg closed 9 years ago
This is an issue with tcomb-form-native I guess... (this repo is tcomb-form)
Anyway probably you should listen to changes:
https://github.com/gcanti/tcomb-form-native#adding-a-default-value-and-listen-to-changes
Hi, I have a login form with a validation on it. Once a user passes validation, his credentials are checked on the server side. If the login fails, the component renders an error. I can see that the value state for these fields has been cleared and if I press the submit button again, the tcomb validation fails (as it is supposed to). However, the text is still shown in the text fields.
Here is my code, thanks: