- Home
- Forum
- Angular - EJ 2
- insert a too big numeric value reset to 0
insert a too big numeric value reset to 0
Hello,
when I write a too big numeric value in an NumericTextBox with a decimal and max input, the value is reset to 0 on blur event instead of max.
I reproduce the bug in your demo. Try to insert 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 in your sample https://ej2.syncfusion.com/angular/documentation/numerictextbox/getting-started/#precision-of-numbers
I reproduce the bug in your demo. Try to insert 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 in your sample https://ej2.syncfusion.com/angular/documentation/numerictextbox/getting-started/#precision-of-numbers
Example :
<ejs-numerictextbox formControlName="toAmount" decimals='2' max='999999'></ejs-numerictextbox>
SIGN IN To post a reply.
5 Replies
1 reply marked as answer
JM
Jeyanth Muthu Pratheeban Sankara Subramanian
Syncfusion Team
October 20, 2020 02:54 PM UTC
Hi Charlotte,
Thanks for contacting Syncfusion support.
We have checked the reported issue and made sample based on the provided code snippet. While checking the issue in the sample, we observed that on typing above 30 characters, value becomes null when focused out. Please confirm whether you report the same issue. If this is not an issue reported in your end, then kindly provide replication steps to reproduce the issue that will help us to validate the issue further and provide you a better solution from our end. Please find the sample in the below link.
Screenshot:
|
|
Regards,
Jeyanth.
CR
Charlotte ROZAN
October 26, 2020 08:53 AM UTC
Hello Jeyanth,
yes I have the same issue. Do you know when this will be fixed ?
Best Regards,
Best Regards,
Charlotte
SP
Sureshkumar P
Syncfusion Team
October 29, 2020 03:49 AM UTC
Hi Charlotte,
Thanks for your update.
Based on your shared information with code example, we have validated the reported issue from our end. the reason for the issue is decimal property is not updated using Angular property binding syntax ([decimals]="decimalVal”) but is updated directly (decimals="2"). So, we suggest you to update the decimals property using property binding syntax as like below sample to resolve the issue.
Regards,
Sureshkumar P
Marked as answer
CR
Charlotte ROZAN
October 29, 2020 08:31 AM UTC
Hello Sureshkumar,
It works !
Thank you very much for your help :)
Regards,
Regards,
Charlotte.
SP
Sureshkumar P
Syncfusion Team
October 30, 2020 07:33 AM UTC
Hi Charlotte,
Thanks for the update.
Regards,
Sureshkumar P
SIGN IN To post a reply.
- 5 Replies
- 3 Participants
- Marked answer
-
CR Charlotte ROZAN
- Oct 16, 2020 08:55 AM UTC
- Oct 30, 2020 07:33 AM UTC