diff --git a/packages/primeng/src/datepicker/datepicker.ts b/packages/primeng/src/datepicker/datepicker.ts index b79c79c527..63da92ea73 100644 --- a/packages/primeng/src/datepicker/datepicker.ts +++ b/packages/primeng/src/datepicker/datepicker.ts @@ -2142,6 +2142,10 @@ export class DatePicker extends BaseComponent implements OnInit, AfterContentIni } onButtonClick(event: Event, inputfield: any = this.inputfieldViewChild?.nativeElement) { + if (this.disabled) { + return; + } + if (!this.overlayVisible) { inputfield.focus(); this.showOverlay();