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

Value of the field does not render when using 5.2.1 #757

Closed
rotherfordm opened this issue May 16, 2023 · 6 comments
Closed

Value of the field does not render when using 5.2.1 #757

rotherfordm opened this issue May 16, 2023 · 6 comments

Comments

@rotherfordm
Copy link

Describe the issue and the actual behavior

Value of the field does not render when using [email protected], react-hook-forms, and materialui
bug

Describe the expected behavior

After clicking a materialui dialog with the form as content it will not render the value passed as props.

Provide a CodeSandbox link illustrating the issue

My local environment project is similar to the CodeSandbox project.
Currently the CodeSandbox uses the 5.1.4 version of react-number-format and it does not have the bug and works with that version.
Codesandbox

Waiting for CodeSandbox to show a 5.2.1 version option of react-number-format to further check.

Provide steps to reproduce this issue

Shown similarly to the CodeSandbox project.

Please check the browsers where the issue is seen

  • [x ] Chrome
  • [x ] Firefox
@umbertod
Copy link

Same happening to me.

Value is being set to the input, but its rendering representation is the old value still.

@pr1tkin
Copy link

pr1tkin commented May 16, 2023

5.2.0 is also affected

@Semkoo
Copy link

Semkoo commented May 17, 2023

I reverted to 5.1.1 and its working but yes it fails for me too

@timitalia
Copy link

Same here, really looking forward to this fix.

@s-yadav
Copy link
Owner

s-yadav commented May 20, 2023

Is your app running on StrictMode. StrictMode have some problems.

@s-yadav
Copy link
Owner

s-yadav commented May 20, 2023

This is fixed on v5.2.2

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

6 participants