@seniorsistemas/angular-components 14.9.4 → 14.9.5
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/seniorsistemas-angular-components.umd.js +3 -2
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +2 -2
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/esm2015/components/custom-fields/custom-fields.component.js +4 -3
- package/esm5/components/custom-fields/custom-fields.component.js +4 -3
- package/fesm2015/seniorsistemas-angular-components.js +3 -2
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +3 -2
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -5018,7 +5018,7 @@ var CustomFieldsComponent = /** @class */ (function () {
|
|
|
5018
5018
|
this.fields.forEach(function (field) {
|
|
5019
5019
|
var type = field.type, name = field.name, mask = field.mask, scale = field.scale;
|
|
5020
5020
|
var value = _this.formGroup.get(name).value;
|
|
5021
|
-
if (value)
|
|
5021
|
+
if (value) {
|
|
5022
5022
|
switch (type) {
|
|
5023
5023
|
case FieldType.Number:
|
|
5024
5024
|
if (mask)
|
|
@@ -5034,7 +5034,8 @@ var CustomFieldsComponent = /** @class */ (function () {
|
|
|
5034
5034
|
value = moment$3(value).format("HH:mm:ss");
|
|
5035
5035
|
break;
|
|
5036
5036
|
}
|
|
5037
|
-
|
|
5037
|
+
}
|
|
5038
|
+
if (value !== null && !Number.isNaN(value)) {
|
|
5038
5039
|
parsedValues[name] = value;
|
|
5039
5040
|
}
|
|
5040
5041
|
else if (_this.isTypeNumberOrEnum(type)) {
|