data bound Numeric Text Box changes to 0 when it loses focus

I have a data bound Numeric Text Box that changes to 0 when it loses focus. This seamed to happen when i  upgraded to ver. 30.  My production version which is still ver. 28 doesn't have this problem.


 


5 Replies

MR Mallesh Ravi Chandran Syncfusion Team September 2, 2025 05:39 AM UTC

We’ve reviewed the scenario you described regarding the data-bound Numeric Text Box resetting to zero upon losing focus after upgrading to version 30. In our validation [30.2.7v] , we tested binding the value using @bind-Value and updating it through a button click. The value was correctly updated and maintained even after the component lost focus. 
We also tested interactions using the spin buttons (increment/decrement arrows) and touch case scenario as well ,  and the value remained properly bound during focus and focus losses transitions.  Additionally, we verified the behavior across different TValue types including int, int?, double, and double?, and in all cases, the value was preserved as expected without resetting to zero.

Gif : 


Based on these observations, we've attached the simple sample we used for testing. If there are any specific conditions or configurations we might have missed, we’d appreciate it if you could share a code snippet or a sample that replicates the issue. This would help us identify the root cause more effectively and work toward a quicker resolution.

Attachment: SyncfusionBlazorApp12_625738cd.zip


BI Bill September 2, 2025 06:33 PM UTC

Sorry i should have given you more info

Here is a code example and a screen recording.


link to screen recording

https://www.dropbox.com/scl/fi/50xw9yd4s28pkyfmza29w/Screen-Recording.mp4?rlkey=v802ryjrz51z2erragqn2psdh&dl=0 




Attachment: Code_8a09eaf7.txt


PK Priyanka Karthikeyan Syncfusion Team September 12, 2025 10:57 AM UTC

Hi Bill,

Thank you for reaching out.
 
A sample has been prepared based on the provided information. The value remains correctly maintained in the NumericTextBox, even after the component loses focus. Kindly refer to the sample and video illustration below:
 

📹 Video
 
To proceed further, the following details would be greatly helpful:
  • A modified version of the sample that reflects the specific scenario, or a new sample that reproduces the issue  
  • Clear steps to replicate the issue  
  • Ensure the reported problem in latest version 31.1.x
These details will assist in gaining a clearer understanding of the situation and in providing a prompt and accurate resolution.
 
Thank you for the cooperation.
 

Regards,
Priyanka K


BI Bill September 22, 2025 08:01 PM UTC

Sorry for taking so long to get back to you. I just got back to this project and it appears to be working. maybe it was something on my PC.  Thanks for all your help



MR Mallesh Ravi Chandran Syncfusion Team September 23, 2025 04:28 AM UTC

Bill , Thank you for the update. Please let us know if you require further assistance.


Loader.
Up arrow icon