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

How to clear text input after onSubmit? #8

Closed
kevinnguy opened this issue Oct 15, 2016 · 2 comments
Closed

How to clear text input after onSubmit? #8

kevinnguy opened this issue Oct 15, 2016 · 2 comments

Comments

@kevinnguy
Copy link

Hi @jaysoo, how can I clear the text input field after I call the onSubmit function?

Thanks for the awesome work!

@jaysoo
Copy link
Owner

jaysoo commented Oct 18, 2016

@kevinnguy I guess there isn't a way right now unless you re-mount the <Prompt/>.

@jaysoo
Copy link
Owner

jaysoo commented Oct 18, 2016

I'll make an update for this.

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

No branches or pull requests

2 participants