ps-toolkit-ui 1.8.87 → 1.8.88

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.
@@ -5875,7 +5875,11 @@
5875
5875
  _this.inp.value = _this.inp.default;
5876
5876
  };
5877
5877
  this.inp.data = function () {
5878
- return _this.inp.value;
5878
+ var v = _this.inp.value;
5879
+ if (v === null || v === '' || v === undefined) {
5880
+ return null;
5881
+ }
5882
+ return v;
5879
5883
  };
5880
5884
  this.inp.focus = function () {
5881
5885
  _this.onFocusIn();
@@ -6022,7 +6026,7 @@
6022
6026
  };
6023
6027
  this.inp.data = function () {
6024
6028
  var v = _this.inp.value;
6025
- if (v === null || v === '') {
6029
+ if (v === null || v === '' || v === undefined) {
6026
6030
  return null;
6027
6031
  }
6028
6032
  if (v && _this.inp.type === exports.InputType.Number || _this.inp.type === exports.InputType.Price) {