ps-toolkit-ui 1.6.52 → 1.6.53
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/tag/form.tag.component.js +3 -3
- package/fesm2015/ps-toolkit-ui.js +1 -1
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -7451,7 +7451,7 @@
|
|
|
7451
7451
|
if (!_this.inp.required && _this.inp.value.length === 0) {
|
|
7452
7452
|
return true;
|
|
7453
7453
|
}
|
|
7454
|
-
if (_this.inp.allowed !== null && _this.inp.value.map(function (x) { return RegExp(_this.inp.allowed).test(x); }).some(function (x) { return x === false; })) {
|
|
7454
|
+
if (_this.inp.allowed !== null && _this.inp.value.map(function (x) { return RegExp(_this.inp.allowed === exports.InputType.BillNumber ? /^\d+(\/\d+)*$/ : '').test(x); }).some(function (x) { return x === false; })) {
|
|
7455
7455
|
_this.inp.error = exports.InputError.Invalid;
|
|
7456
7456
|
return false;
|
|
7457
7457
|
}
|