From ea9594ed9dffec69161c98e2522591f7d92bb39e Mon Sep 17 00:00:00 2001 From: Matthew Oliveira Date: Thu, 5 Dec 2024 13:18:03 -0500 Subject: [PATCH] fix(notice-choice): switch attribute to snake case (#12147) ### Related Ticket(s) Follow up to https://github.com/carbon-design-system/carbon-for-ibm-dotcom/pull/12127 ### Description Following convention, switch `current-language` attribute to snake case. ### Changelog **Changed** - Changed `currentLanguage` attribute in `` component to snake case --- .../src/components/notice-choice/notice-choice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web-components/src/components/notice-choice/notice-choice.ts b/packages/web-components/src/components/notice-choice/notice-choice.ts index 95aa58e32b4..5eca0c60a8c 100644 --- a/packages/web-components/src/components/notice-choice/notice-choice.ts +++ b/packages/web-components/src/components/notice-choice/notice-choice.ts @@ -56,7 +56,7 @@ class NoticeChoice extends StableSelectorMixin(LitElement) { @property({ type: String, attribute: 'language' }) language = 'en'; - @property({ type: String, attribute: 'currentLanguage' }) + @property({ type: String, attribute: 'current-language' }) currentLanguage = 'en'; @property({ type: String, attribute: 'terms-condition-link' })