Skip to content

Commit 4040d72

Browse files
Applying suggestion
Co-authored-by: Radoslav Karaivanov <rkaraivanov@infragistics.com>
1 parent 35d5961 commit 4040d72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/date-range-picker/date-range-picker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ export default class IgcDateRangePickerComponent extends FormAssociatedRequiredM
10131013
slot="prefix"
10141014
part=${calendarIcon}
10151015
@pointerdown=${this._handleCalendarIconSlotPointerDown}
1016-
@click=${() => {
1016+
@click=${this.readOnly ? nothing : this.handleAnchorClick}
10171017
if (!this.readOnly) this.handleAnchorClick();
10181018
}}
10191019
>

0 commit comments

Comments
 (0)