From 982c4168a75a23634ca0c7bbf88574f9c2859b94 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 11 Sep 2024 13:02:41 +0300 Subject: [PATCH] Fixed #6377 --- .../primevue/src/togglebutton/ToggleButton.d.ts | 4 ---- .../primevue/src/togglebutton/ToggleButton.vue | 14 +++++++++++++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/packages/primevue/src/togglebutton/ToggleButton.d.ts b/packages/primevue/src/togglebutton/ToggleButton.d.ts index 644a4cf2f..30c2580ce 100755 --- a/packages/primevue/src/togglebutton/ToggleButton.d.ts +++ b/packages/primevue/src/togglebutton/ToggleButton.d.ts @@ -150,10 +150,6 @@ export interface ToggleButtonProps { * Establishes relationships between the component and label(s) where its value should be one or more element IDs. */ ariaLabelledby?: string | undefined; - /** - * Establishes a string value that labels the component. - */ - ariaLabel?: string | undefined; /** * It generates scoped CSS variables using design tokens for the component. */ diff --git a/packages/primevue/src/togglebutton/ToggleButton.vue b/packages/primevue/src/togglebutton/ToggleButton.vue index 104bd56f0..78136ec38 100755 --- a/packages/primevue/src/togglebutton/ToggleButton.vue +++ b/packages/primevue/src/togglebutton/ToggleButton.vue @@ -1,5 +1,17 @@