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.
- package/bundles/ps-toolkit-ui.umd.js +1 -3
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/form.class.js +2 -2
- package/esm2015/lib/components/form/checkbox/form.checkbox.component.js +1 -3
- package/fesm2015/ps-toolkit-ui.js +1 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -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;
|