ps-toolkit-ui 1.12.86 → 1.12.87
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
|
@@ -5548,7 +5548,7 @@
|
|
|
5548
5548
|
_this.inp.error = exports.InputError.Required;
|
|
5549
5549
|
return false;
|
|
5550
5550
|
}
|
|
5551
|
-
if (_this.inp.addNew && _this.inp.value == null && _this.inp.search != null && /^\d+$/.test(_this.inp.search.replace(/-/g, '').replace(/\./g, ''))) {
|
|
5551
|
+
if (_this.inp.addNew && _this.inp.value == null && _this.inp.search != null && !_this.inp.search.startsWith('0') && /^\d+$/.test(_this.inp.search.replace(/-/g, '').replace(/\./g, ''))) {
|
|
5552
5552
|
_this.inp.error = exports.InputError.Invalid;
|
|
5553
5553
|
return false;
|
|
5554
5554
|
}
|