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.
@@ -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
  }