Skip to content
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

Form data disappears. #41

Open
cjoelrun opened this issue May 21, 2019 · 1 comment
Open

Form data disappears. #41

cjoelrun opened this issue May 21, 2019 · 1 comment

Comments

@cjoelrun
Copy link

cjoelrun commented May 21, 2019

Trying to debug a couple things.

First: When I provide data it doesn't seem to fill out the form unless I go into react-apollo-form node_modules and compile the typescript manually since I'm not using typescript in my project.

Second: After compiling. It seems to fill out the form initially but immediately upon typing will cause the form to loose all data for values in a referenced part of the schema. Did something like this to debug: onChange={console.log}. It seems like the values are already lost by this point.

Going to dig more into the cleanData util.

@lukasluecke
Copy link
Contributor

Could you provide a reproduction or code sample? It's working fine for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants