@smartsoft001/angular 1.1.825 → 1.1.828

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.
@@ -3742,7 +3742,8 @@ class InputPasswordComponent extends InputBaseComponent {
3742
3742
  this.valid = true;
3743
3743
  this.focus = false;
3744
3744
  }
3745
- ngOnInit() {
3745
+ afterSetOptionsHandler() {
3746
+ super.afterSetOptionsHandler();
3746
3747
  this.control.setValidators([
3747
3748
  this.control.validator,
3748
3749
  (c) => {
@@ -3768,9 +3769,7 @@ class InputPasswordComponent extends InputBaseComponent {
3768
3769
  { ...this.control.errors, passwordStrength: true } : { passwordStrength: true };
3769
3770
  this.control.setErrors(errors);
3770
3771
  }
3771
- setTimeout(() => {
3772
- this.control.updateValueAndValidity();
3773
- });
3772
+ this.control.updateValueAndValidity();
3774
3773
  }
3775
3774
  }
3776
3775
  /** @nocollapse */ InputPasswordComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: InputPasswordComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });