From 21a0329f9c4f8d7de9130e824b36433ea4330fe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20=C3=87etin?= <92744169+mehmetcetin01140@users.noreply.github.com> Date: Tue, 26 Nov 2024 12:39:31 +0300 Subject: [PATCH] Fixed #16845 | Set the default value of autoOptionFocus to false --- packages/primeng/src/select/select.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/primeng/src/select/select.ts b/packages/primeng/src/select/select.ts index 41b34c37bb6..325b9d2278a 100755 --- a/packages/primeng/src/select/select.ts +++ b/packages/primeng/src/select/select.ts @@ -657,7 +657,7 @@ export class Select extends BaseComponent implements OnInit, AfterViewInit, Afte * Whether to focus on the first visible or selected element when the overlay panel is shown. * @group Props */ - @Input({ transform: booleanAttribute }) autoOptionFocus: boolean = true; + @Input({ transform: booleanAttribute }) autoOptionFocus: boolean = false; /** * Applies focus to the filter element when the overlay is shown. * @group Props