Hi ,
Greetings from Syncfusion support!
The behavior you're observing, where leading zeros are removed when focusing out of the NumericTextBox component, is due to the default behavior of the component treating the input as a numeric value.
When you enter "000228", the component interprets it as the number 228 and formats it accordingly. By default, the component formats numeric values with two decimal places, hence "228" gets formatted to "228.00".
To achieve the behavior you described, we recommend using our MaskedTextBox component instead. This component allows you to specify a mask pattern that controls the input format.
For further guidance and implementation details, please refer to our documentation on the MaskedTextBox component:
https://ej2.syncfusion.com/angular/documentation/maskedtextbox/getting-started
You can also explore the demo site for a live demonstration of the MaskedTextBox component:
https://ej2.syncfusion.com/angular/demos/#/bootstrap5/maskedtextbox/default
If you have any further questions or need assistance with implementation, feel free to ask.
Documentation:
Demo: