ps-toolkit-ui 1.5.83 → 1.5.86
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 +2 -2
- 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/components/form/checkbox/form.checkbox.component.js +3 -3
- package/fesm2015/ps-toolkit-ui.js +2 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -3553,6 +3553,8 @@
|
|
|
3553
3553
|
FormCheckboxComponent.prototype.ngOnInit = function () {
|
|
3554
3554
|
var _this = this;
|
|
3555
3555
|
this.inp.clear = function () {
|
|
3556
|
+
_this.inp.error = null;
|
|
3557
|
+
_this.inp.value = false;
|
|
3556
3558
|
};
|
|
3557
3559
|
this.inp.isValid = function () {
|
|
3558
3560
|
_this.inp.error = null;
|
|
@@ -3566,14 +3568,12 @@
|
|
|
3566
3568
|
return _this.inp.value;
|
|
3567
3569
|
};
|
|
3568
3570
|
this.inp.setValue = function (v) {
|
|
3569
|
-
console.log(v, 1111);
|
|
3570
3571
|
_this.inp.value = v;
|
|
3571
3572
|
};
|
|
3572
3573
|
this.inp.focus = function () {
|
|
3573
3574
|
_this.onFocusIn();
|
|
3574
3575
|
};
|
|
3575
3576
|
this.inp.setValue(this.inp.value === true, false);
|
|
3576
|
-
console.log(this.inp.value, 2222);
|
|
3577
3577
|
};
|
|
3578
3578
|
FormCheckboxComponent.prototype.onFocusIn = function () {
|
|
3579
3579
|
this.inp.error = null;
|