when input is empty or null change to zero

Hello, I try change the empty textbox to 0 or its null put zero. How can do?


ejNumericTextbox = "" to 0

ejNumericTextbox = null to 0


3 Replies

UD UdhayaKumar Duraisamy Syncfusion Team May 10, 2023 01:16 PM UTC

You can refer to the Syncfusion documentation shared below regarding "Preventing nullable input in NumericTextBox".


Documentation: https://ej2.syncfusion.com/aspnetcore/documentation/numerictextbox/how-to/prevent-nullable-input-in-numerictextbox



AR Arturo May 12, 2023 12:23 AM UTC

Thanks, is working



UD UdhayaKumar Duraisamy Syncfusion Team May 12, 2023 04:34 AM UTC

We are happy to assist you. Please get back to us if you need any further assistance on this.


Loader.
Up arrow icon