osl-base-extended 2.0.10 → 2.0.11

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.
@@ -1149,6 +1149,11 @@ class Oslinput {
1149
1149
  this.modelChange.emit(this.model);
1150
1150
  return;
1151
1151
  }
1152
+ if (this.type === 'number') {
1153
+ this.model = value === '' ? null : value;
1154
+ this.modelChange.emit(this.model);
1155
+ return;
1156
+ }
1152
1157
  if (this.isCapitalize) {
1153
1158
  value = typeof value == 'string' ? value?.toUpperCase() : value;
1154
1159
  }