The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I am using a DoubleTextBox. I have a bug in my stack states that the minus does not appears when the value is 0. Sound weird??? Not really because of the behaviour of the standard TextBox...
Suppose that the value is 0 and you hit the minus sign, in a standard TextBox the minus will apperar. So if you want to enter -8.5 for example, the TextBox will display -, -8, -8., and -8.5.
I understand how the DoubleTextBok work and like my client, I think that it not friendly.
Is it possible to have this behaviour with the DoubleTextBox?
I expect to have a DoubleTextBox that avoids invalid entries, manages the display and manages some exceptions like the minus.
SSSri Subhashini M Syncfusion Team December 10, 2007 02:10 PM UTC
Hi Stephane,
Thank you for using Syncfusion product.
Standard text box gets the values as string, it does not perform any numeric validation. So minus sign will appear while typing zero.
But DoubleTextBox accepts the input values as numberic only. It validate the input internally. So, it is not possible to display the negative value for the zero value.