We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92df3e5 commit 7490a8cCopy full SHA for 7490a8c
src/components/date-picker/date-picker.ts
@@ -611,11 +611,6 @@ export default class IgcDatePickerComponent extends FormAssociatedRequiredMixin(
611
this._oldValue = this.value;
612
this.value = null;
613
this._input?.clear();
614
-
615
- if (this.nonEditable || !this._isDropDown) {
616
- this._input.blur();
617
- Promise.resolve().then(() => this._input.focus());
618
- }
619
}
620
621
/** Increments the passed in date part */
src/components/date-time-input/date-time-input.ts
@@ -524,6 +524,10 @@ export default class IgcDateTimeInputComponent extends EventEmitterMixin<
524
return mask;
525
526
527
+ if (this.readOnly) {
528
+ return '';
529
+ }
530
+
531
return this._maskedValue === '' ? mask : this._maskedValue;
532
533
0 commit comments