@syncfusion/ej2-inputs 19.3.53 → 19.3.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1481,6 +1481,11 @@ var NumericTextBox = /** @__PURE__ @class */ (function (_super) {
1481
1481
  if (this.isVue) {
1482
1482
  var current = this.instance.getNumberParser({ format: 'n' })(this.element.value);
1483
1483
  var previous = this.instance.getNumberParser({ format: 'n' })(this.elementPrevValue);
1484
+ //EJ2-54963-if type "." or ".0" or "-.0" it converts to "0" automatically when binding v-model
1485
+ var nonZeroRegex = new RegExp('[^1-9]+$');
1486
+ if (nonZeroRegex.test(this.element.value)) {
1487
+ current = this.value;
1488
+ }
1484
1489
  var eventArgs = {
1485
1490
  event: event,
1486
1491
  value: (current === null || isNaN(current) ? null : current),