ng-inail-common 1.0.397 → 1.0.402
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/ng-inail-common.umd.js +4 -2
- package/bundles/ng-inail-common.umd.js.map +1 -1
- package/bundles/ng-inail-common.umd.min.js +1 -1
- package/bundles/ng-inail-common.umd.min.js.map +1 -1
- package/esm2015/lib/components/ux/form-element/form-element.component.js +6 -2
- package/esm2015/lib/components/ux/input-number/input-number.component.js +2 -2
- package/esm5/lib/components/ux/form-element/form-element.component.js +6 -2
- package/esm5/lib/components/ux/input-number/input-number.component.js +2 -2
- package/fesm2015/ng-inail-common.js +5 -3
- package/fesm2015/ng-inail-common.js.map +1 -1
- package/fesm5/ng-inail-common.js +5 -3
- package/fesm5/ng-inail-common.js.map +1 -1
- package/lib/components/ux/form-element/form-element.component.d.ts +1 -0
- package/ng-inail-common.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -504,6 +504,7 @@
|
|
|
504
504
|
var _this = _super.call(this) || this;
|
|
505
505
|
_this.enterUp = new i0.EventEmitter();
|
|
506
506
|
_this.popover = false;
|
|
507
|
+
_this.cleanErrorOnChange = true;
|
|
507
508
|
_this.showPopover = ( /**
|
|
508
509
|
* @return {?}
|
|
509
510
|
*/function () { return _this.popover === true; });
|
|
@@ -539,7 +540,8 @@
|
|
|
539
540
|
popoverButtonIcon: [{ type: i0.Input }],
|
|
540
541
|
popoverButtonTitle: [{ type: i0.Input }],
|
|
541
542
|
popoverTitle: [{ type: i0.Input }],
|
|
542
|
-
popoverContent: [{ type: i0.Input }]
|
|
543
|
+
popoverContent: [{ type: i0.Input }],
|
|
544
|
+
cleanErrorOnChange: [{ type: i0.Input }]
|
|
543
545
|
};
|
|
544
546
|
return FormElementComponent;
|
|
545
547
|
}(ResponsiveElementComponent));
|
|
@@ -5350,7 +5352,7 @@
|
|
|
5350
5352
|
// console.info(changes.value.currentValue)
|
|
5351
5353
|
this.previousValue = changes.value.previousValue;
|
|
5352
5354
|
this.normalizzaValore();
|
|
5353
|
-
if (!changes.value.firstChange) {
|
|
5355
|
+
if (!changes.value.firstChange && this.cleanErrorOnChange) {
|
|
5354
5356
|
this.hasError = false;
|
|
5355
5357
|
this.descError = undefined;
|
|
5356
5358
|
}
|