igniteui-angular 14.0.13 → 14.0.14
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/esm2020/lib/date-picker/date-picker.component.mjs +2 -1
- package/esm2020/lib/date-range-picker/date-range-picker.component.mjs +3 -3
- package/esm2020/lib/time-picker/time-picker.component.mjs +3 -2
- package/fesm2015/igniteui-angular.mjs +5 -3
- package/fesm2015/igniteui-angular.mjs.map +1 -1
- package/fesm2020/igniteui-angular.mjs +5 -3
- package/fesm2020/igniteui-angular.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -38570,6 +38570,7 @@ class IgxDatePickerComponent extends PickerBaseDirective {
|
|
|
38570
38570
|
this._onTouchedCallback = noop;
|
|
38571
38571
|
this._onValidatorChange = noop;
|
|
38572
38572
|
this.onStatusChanged = () => {
|
|
38573
|
+
this.disabled = this._ngControl.disabled;
|
|
38573
38574
|
this.updateValidity();
|
|
38574
38575
|
this.inputGroup.isRequired = this.required;
|
|
38575
38576
|
};
|
|
@@ -42522,7 +42523,8 @@ class IgxTimePickerComponent extends PickerBaseDirective {
|
|
|
42522
42523
|
}
|
|
42523
42524
|
onStatusChanged() {
|
|
42524
42525
|
if ((this._ngControl.control.touched || this._ngControl.control.dirty) &&
|
|
42525
|
-
(this._ngControl.control.validator || this._ngControl.control.asyncValidator)
|
|
42526
|
+
(this._ngControl.control.validator || this._ngControl.control.asyncValidator) &&
|
|
42527
|
+
!this._ngControl.disabled) {
|
|
42526
42528
|
if (this._inputGroup.isFocused) {
|
|
42527
42529
|
this.inputDirective.valid = this._ngControl.valid ? IgxInputState.VALID : IgxInputState.INVALID;
|
|
42528
42530
|
}
|
|
@@ -83993,14 +83995,14 @@ class IgxDateRangePickerComponent extends PickerBaseDirective {
|
|
|
83993
83995
|
this.onValidatorChange = noop;
|
|
83994
83996
|
this.onStatusChanged = () => {
|
|
83995
83997
|
if (this.inputGroup) {
|
|
83996
|
-
this.inputDirective.valid = this.isTouchedOrDirty
|
|
83998
|
+
this.inputDirective.valid = this.isTouchedOrDirty && !this._ngControl.disabled
|
|
83997
83999
|
? this.getInputState(this.inputGroup.isFocused)
|
|
83998
84000
|
: IgxInputState.INITIAL;
|
|
83999
84001
|
}
|
|
84000
84002
|
else if (this.hasProjectedInputs) {
|
|
84001
84003
|
this.projectedInputs
|
|
84002
84004
|
.forEach(i => {
|
|
84003
|
-
i.inputDirective.valid = this.isTouchedOrDirty
|
|
84005
|
+
i.inputDirective.valid = this.isTouchedOrDirty && !this._ngControl.disabled
|
|
84004
84006
|
? this.getInputState(i.isFocused)
|
|
84005
84007
|
: IgxInputState.INITIAL;
|
|
84006
84008
|
;
|