ps-toolkit-ui 1.22.25 → 1.22.26

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.
@@ -2600,7 +2600,7 @@
2600
2600
  exports.InputType.PostalCode, exports.InputType.Date, exports.InputType.Time, exports.InputType.BillNumber, exports.InputType.Username, exports.InputType.Url].includes(type) ? ' ltr' : '');
2601
2601
  this.type = type;
2602
2602
  this.value = value;
2603
- this.default = value == null ? null : (typeof value === 'number' || typeof value === 'string' ? _.cloneDeep(value) : HelperClass.clone(value));
2603
+ this.default = value == null ? null : typeof value === 'boolean' ? (value === true) : (typeof value === 'number' || typeof value === 'string' ? _.cloneDeep(value) : HelperClass.clone(value));
2604
2604
  this.baseRequired = required;
2605
2605
  this.required = required;
2606
2606
  this.inEditRequired = required;
@@ -5210,8 +5210,6 @@
5210
5210
  this.inp.clear = function () {
5211
5211
  _this.inp.error = null;
5212
5212
  _this.inp.value = _this.inp.default === true;
5213
- console.log(_this.inp.default);
5214
- console.log(_this.inp.value);
5215
5213
  };
5216
5214
  this.inp.isValid = function () {
5217
5215
  _this.inp.error = null;