ps-toolkit-ui 1.4.89 → 1.4.92
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 +4 -1
- 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 -1
- package/esm2015/lib/components/form/radio/form.radio.component.js +4 -2
- package/fesm2015/ps-toolkit-ui.js +4 -1
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -1741,6 +1741,7 @@
|
|
|
1741
1741
|
this.placeholder = null;
|
|
1742
1742
|
this.addNew = false;
|
|
1743
1743
|
this.description = null;
|
|
1744
|
+
this.default = null;
|
|
1744
1745
|
this.disabled = false;
|
|
1745
1746
|
this.inEditDisabled = false;
|
|
1746
1747
|
this.inEditVisible = true;
|
|
@@ -4949,7 +4950,8 @@
|
|
|
4949
4950
|
var _this = this;
|
|
4950
4951
|
this.inp.load();
|
|
4951
4952
|
this.inp.setValue = function (v) {
|
|
4952
|
-
|
|
4953
|
+
console.log(v, 'v');
|
|
4954
|
+
_this.inp.value = v !== null ? v.toString() : null;
|
|
4953
4955
|
if (_this.inp.value == null && _this.inp.options.length > 0) {
|
|
4954
4956
|
_this.inp.value = _this.inp.options.find(function (x) { return true; }).value;
|
|
4955
4957
|
}
|
|
@@ -4966,6 +4968,7 @@
|
|
|
4966
4968
|
};
|
|
4967
4969
|
this.inp.clear = function () {
|
|
4968
4970
|
_this.inp.error = null;
|
|
4971
|
+
console.log(_this.inp.default, 'this.inp.default');
|
|
4969
4972
|
_this.inp.setValue(_this.inp.default, false);
|
|
4970
4973
|
};
|
|
4971
4974
|
this.inp.data = function () {
|