@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
|
@@ -4694,7 +4694,7 @@ let CustomFieldsComponent = CustomFieldsComponent_1 = class CustomFieldsComponen
|
|
|
4694
4694
|
this.fields.forEach(field => {
|
|
4695
4695
|
const { type, name, mask, scale } = field;
|
|
4696
4696
|
let value = this.formGroup.get(name).value;
|
|
4697
|
-
if (value)
|
|
4697
|
+
if (value) {
|
|
4698
4698
|
switch (type) {
|
|
4699
4699
|
case FieldType.Number:
|
|
4700
4700
|
if (mask)
|
|
@@ -4710,7 +4710,8 @@ let CustomFieldsComponent = CustomFieldsComponent_1 = class CustomFieldsComponen
|
|
|
4710
4710
|
value = moment$3(value).format("HH:mm:ss");
|
|
4711
4711
|
break;
|
|
4712
4712
|
}
|
|
4713
|
-
|
|
4713
|
+
}
|
|
4714
|
+
if (value !== null && !Number.isNaN(value)) {
|
|
4714
4715
|
parsedValues[name] = value;
|
|
4715
4716
|
}
|
|
4716
4717
|
else if (this.isTypeNumberOrEnum(type)) {
|