From 1a8c8ee2af062f36752f9c4d08662ebb9a2eb822 Mon Sep 17 00:00:00 2001 From: mergehez Date: Wed, 9 Oct 2024 22:16:02 +0200 Subject: [PATCH] fixes #6543 (missing slot prop: toggleCallback) --- apps/showcase/doc/common/apidoc/index.json | 2 +- packages/primevue/src/datepicker/DatePicker.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/showcase/doc/common/apidoc/index.json b/apps/showcase/doc/common/apidoc/index.json index 8252d6830..98ea20300 100644 --- a/apps/showcase/doc/common/apidoc/index.json +++ b/apps/showcase/doc/common/apidoc/index.json @@ -21584,7 +21584,7 @@ { "name": "scope", "optional": false, - "type": "{\n \t toggleCallback: (event: Event) ⇒ void, // Toggle function.\n}" + "type": "{\n \t toggleCallback: () ⇒ void, // Toggle function.\n}" } ], "returnType": "VNode[]", diff --git a/packages/primevue/src/datepicker/DatePicker.vue b/packages/primevue/src/datepicker/DatePicker.vue index a7308bed3..8677a8907 100755 --- a/packages/primevue/src/datepicker/DatePicker.vue +++ b/packages/primevue/src/datepicker/DatePicker.vue @@ -32,7 +32,7 @@ @keydown="onKeyDown" :pt="ptm('pcInputText')" /> - +