ps-toolkit-ui 1.13.2 → 1.13.4
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 -0
- 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/toggle/form.toggle.component.js +3 -1
- package/fesm2015/ps-toolkit-ui.js +2 -0
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -8119,6 +8119,7 @@
|
|
|
8119
8119
|
var _this = this;
|
|
8120
8120
|
this.inp.setValue = function (v) {
|
|
8121
8121
|
_this.inp.value = v === true;
|
|
8122
|
+
_this.inputBase.nativeElement.checked = v === true;
|
|
8122
8123
|
};
|
|
8123
8124
|
this.inp.isValid = function () {
|
|
8124
8125
|
_this.inp.error = null;
|
|
@@ -8134,6 +8135,7 @@
|
|
|
8134
8135
|
this.inp.data = function () {
|
|
8135
8136
|
return _this.inp.value;
|
|
8136
8137
|
};
|
|
8138
|
+
this.inp.setValue(this.inp.value, false);
|
|
8137
8139
|
};
|
|
8138
8140
|
FormToggleComponent.prototype.onChange = function () {
|
|
8139
8141
|
this.inp.value = this.inputBase.nativeElement.checked;
|