@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
|
@@ -5201,7 +5201,7 @@
|
|
|
5201
5201
|
this.fields.forEach(function (field) {
|
|
5202
5202
|
var type = field.type, name = field.name, mask = field.mask, scale = field.scale;
|
|
5203
5203
|
var value = _this.formGroup.get(name).value;
|
|
5204
|
-
if (value)
|
|
5204
|
+
if (value) {
|
|
5205
5205
|
switch (type) {
|
|
5206
5206
|
case exports.FieldType.Number:
|
|
5207
5207
|
if (mask)
|
|
@@ -5217,7 +5217,8 @@
|
|
|
5217
5217
|
value = moment$3(value).format("HH:mm:ss");
|
|
5218
5218
|
break;
|
|
5219
5219
|
}
|
|
5220
|
-
|
|
5220
|
+
}
|
|
5221
|
+
if (value !== null && !Number.isNaN(value)) {
|
|
5221
5222
|
parsedValues[name] = value;
|
|
5222
5223
|
}
|
|
5223
5224
|
else if (_this.isTypeNumberOrEnum(type)) {
|