igniteui-angular 12.3.35 → 12.3.36

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.
@@ -42212,6 +42212,7 @@
42212
42212
  _this._onTouchedCallback = rxjs.noop;
42213
42213
  _this._onValidatorChange = rxjs.noop;
42214
42214
  _this.onStatusChanged = function () {
42215
+ _this.disabled = _this._ngControl.disabled;
42215
42216
  _this.updateValidity();
42216
42217
  _this.inputGroup.isRequired = _this.required;
42217
42218
  };
@@ -67727,7 +67728,8 @@
67727
67728
  };
67728
67729
  IgxTimePickerComponent.prototype.onStatusChanged = function () {
67729
67730
  if ((this._ngControl.control.touched || this._ngControl.control.dirty) &&
67730
- (this._ngControl.control.validator || this._ngControl.control.asyncValidator)) {
67731
+ (this._ngControl.control.validator || this._ngControl.control.asyncValidator) &&
67732
+ !this._ngControl.disabled) {
67731
67733
  if (this._inputGroup.isFocused) {
67732
67734
  this.inputDirective.valid = this._ngControl.valid ? exports.IgxInputState.VALID : exports.IgxInputState.INVALID;
67733
67735
  }
@@ -83963,14 +83965,14 @@
83963
83965
  _this.onValidatorChange = rxjs.noop;
83964
83966
  _this.onStatusChanged = function () {
83965
83967
  if (_this.inputGroup) {
83966
- _this.inputDirective.valid = _this.isTouchedOrDirty
83968
+ _this.inputDirective.valid = _this.isTouchedOrDirty && !_this._ngControl.disabled
83967
83969
  ? _this.getInputState(_this.inputGroup.isFocused)
83968
83970
  : exports.IgxInputState.INITIAL;
83969
83971
  }
83970
83972
  else if (_this.hasProjectedInputs) {
83971
83973
  _this.projectedInputs
83972
83974
  .forEach(function (i) {
83973
- i.inputDirective.valid = _this.isTouchedOrDirty
83975
+ i.inputDirective.valid = _this.isTouchedOrDirty && !_this._ngControl.disabled
83974
83976
  ? _this.getInputState(i.isFocused)
83975
83977
  : exports.IgxInputState.INITIAL;
83976
83978
  ;