-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
Focus lost on redux form input #481
Comments
Can you share the JSX where the inputs are? |
Sorry for not responding on this sooner. I've found the problem. The problem was that I passed down the entire I slimmed down the props I needed just for the form and it worked as intended. |
@JensDebergh thanks for replying with your solution, you've just saved me a lot of effort! People like you that respond with solutions for your own problems are what give me faith in humanity. =p |
A hero, indeed. Some more information (for the novice like myself): I changed
into
This also fixed an issue for me where the input field was losing its value upon blur. Here the error message as text:
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm using
redux-form
for a simple registration form. I've run into this issue where redux does in fact store the state changes of the input field, but it keeps losing focus on key enter.This means I'm only able to input 1 letter at a time before losing focus on that element.
Any idea how or why this happens?
Could this have something to do with following warning:
Code snippet: https://github.com/JensDebergh/toggle-client/blob/j-toker-login/app/containers/RegistrationPage.js
The text was updated successfully, but these errors were encountered: