-
-
Notifications
You must be signed in to change notification settings - Fork 31
Number are not reset when exiting the text box #184
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
Comments
Thanks for spotting this inconsistency, I'll fix ASAP! |
Should be fixed now in v1.25.1. Thanks for reporting -- it was literally a one word error (just referring to the wrong variable), but it could have gone unnoticed for a long time! |
Sorry to bother again, it seems like the issue is still unresolved. I tried locally and in the live demo on version v1.25.1. Just to be clear, here are the steps to recreate :
--> This will leave the number you entered shown on screen. It does not trigger validation nor sets the internal state. All the other field types (for example strings) are reset to their old value when you repeat the same steps. This is not an urgent fix for us, just letting you know that the bug is still there. |
Oh, that's annoying. At first I was unable to reproduce it on the demo, but I did it a few more times and eventually it happened. Damn, must be a race condition somewhere -- I'll have a closer look into it. |
@BoBer78 -- hey, just wondering if you're still seeing this in the latest version? |
Describe the bug
When editing an number, it does not reset when clicking elsewhere. The internal state is unchanged but what is displayed is.
Expected behavior
See below screen recording. First behavior with numbers is incorrect. Second with strings is correct.
Screenshots
https://github.com/user-attachments/assets/4afc8f9b-03e1-49b6-a174-5c4efa3a7295
Online demo
The screen recording was made using the live demo.
Thanks for the great package by the way, very intuitive and super useful !
The text was updated successfully, but these errors were encountered: