igniteui-angular 13.2.12 → 13.2.13

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.
@@ -38450,6 +38450,7 @@ class IgxDatePickerComponent extends PickerBaseDirective {
38450
38450
  this._onTouchedCallback = noop;
38451
38451
  this._onValidatorChange = noop;
38452
38452
  this.onStatusChanged = () => {
38453
+ this.disabled = this._ngControl.disabled;
38453
38454
  this.updateValidity();
38454
38455
  this.inputGroup.isRequired = this.required;
38455
38456
  };
@@ -42407,7 +42408,8 @@ class IgxTimePickerComponent extends PickerBaseDirective {
42407
42408
  }
42408
42409
  onStatusChanged() {
42409
42410
  if ((this._ngControl.control.touched || this._ngControl.control.dirty) &&
42410
- (this._ngControl.control.validator || this._ngControl.control.asyncValidator)) {
42411
+ (this._ngControl.control.validator || this._ngControl.control.asyncValidator) &&
42412
+ !this._ngControl.disabled) {
42411
42413
  if (this._inputGroup.isFocused) {
42412
42414
  this.inputDirective.valid = this._ngControl.valid ? IgxInputState.VALID : IgxInputState.INVALID;
42413
42415
  }
@@ -83927,14 +83929,14 @@ class IgxDateRangePickerComponent extends PickerBaseDirective {
83927
83929
  this.onValidatorChange = noop;
83928
83930
  this.onStatusChanged = () => {
83929
83931
  if (this.inputGroup) {
83930
- this.inputDirective.valid = this.isTouchedOrDirty
83932
+ this.inputDirective.valid = this.isTouchedOrDirty && !this._ngControl.disabled
83931
83933
  ? this.getInputState(this.inputGroup.isFocused)
83932
83934
  : IgxInputState.INITIAL;
83933
83935
  }
83934
83936
  else if (this.hasProjectedInputs) {
83935
83937
  this.projectedInputs
83936
83938
  .forEach(i => {
83937
- i.inputDirective.valid = this.isTouchedOrDirty
83939
+ i.inputDirective.valid = this.isTouchedOrDirty && !this._ngControl.disabled
83938
83940
  ? this.getInputState(i.isFocused)
83939
83941
  : IgxInputState.INITIAL;
83940
83942
  ;