wini-web-components 2.3.7 → 2.3.8

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.
@@ -134,6 +134,8 @@ var InputOpt = /** @class */ (function (_super) {
134
134
  ev.target.value = "";
135
135
  break;
136
136
  default:
137
+ ev.preventDefault();
138
+ ev.stopPropagation();
137
139
  var numberCheck = /[0-9]/g;
138
140
  if (numberCheck.test(key)) {
139
141
  if (!ev.target.value.length)
@@ -143,8 +145,6 @@ var InputOpt = /** @class */ (function (_super) {
143
145
  else
144
146
  ev.target.blur();
145
147
  }
146
- else
147
- ev.preventDefault();
148
148
  break;
149
149
  }
150
150
  }, onBlur: function () {