ps-toolkit-ui 1.11.2 → 1.11.6
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 +6 -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 +1 -2
- package/esm2015/lib/components/form/select/form.select.component.js +7 -1
- package/fesm2015/ps-toolkit-ui.js +6 -1
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
- package/src/assets/styles/base.css +2 -2
|
@@ -2117,7 +2117,6 @@
|
|
|
2117
2117
|
for (var opts_1 = __values(opts), opts_1_1 = opts_1.next(); !opts_1_1.done; opts_1_1 = opts_1.next()) {
|
|
2118
2118
|
var f = opts_1_1.value;
|
|
2119
2119
|
if (f.selected && (!this.onlyChild || f.options.length === 0)) {
|
|
2120
|
-
console.log(f);
|
|
2121
2120
|
l.push(f);
|
|
2122
2121
|
}
|
|
2123
2122
|
var rs = this.getSelectedOptions(f.options);
|
|
@@ -5356,6 +5355,12 @@
|
|
|
5356
5355
|
_this.inp.error = exports.InputError.Required;
|
|
5357
5356
|
return false;
|
|
5358
5357
|
}
|
|
5358
|
+
console.log(_this.inp.addNew);
|
|
5359
|
+
console.log(_this.inp.value);
|
|
5360
|
+
console.log(_this.inp.search);
|
|
5361
|
+
console.log(_this.inp.search);
|
|
5362
|
+
console.log(_this.inp.search.replace(/-/g, '').replace(/./g, ''));
|
|
5363
|
+
console.log(/^\d+$/.test(_this.inp.search.replace(/-/g, '').replace(/./g, '')));
|
|
5359
5364
|
if (_this.inp.addNew && _this.inp.value == null && _this.inp.search != null && /^\d+$/.test(_this.inp.search.replace(/-/g, '').replace(/./g, ''))) {
|
|
5360
5365
|
_this.inp.error = exports.InputError.Invalid;
|
|
5361
5366
|
return false;
|