ps-toolkit-ui 1.10.93 → 1.10.94
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 -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/components/form/select/form.select.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +1 -1
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -5329,7 +5329,7 @@
|
|
|
5329
5329
|
_this.inp.error = exports.InputError.Required;
|
|
5330
5330
|
return false;
|
|
5331
5331
|
}
|
|
5332
|
-
if (_this.inp.addNew && /^\d+$/.test(_this.inp.
|
|
5332
|
+
if (_this.inp.addNew && _this.inp.value == null && _this.inp.search != null && /^\d+$/.test(_this.inp.search.replace(/-/g, '').replace(/./g, ''))) {
|
|
5333
5333
|
_this.inp.error = exports.InputError.Invalid;
|
|
5334
5334
|
return false;
|
|
5335
5335
|
}
|