From f45270e0837b4da5c899943fae62bcefed28d836 Mon Sep 17 00:00:00 2001 From: Shreyans Pathak Date: Fri, 12 Jul 2024 12:11:19 -0400 Subject: [PATCH] refactor: field_checkbox `dom.addClass` params (#8309) --- core/field_checkbox.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/field_checkbox.ts b/core/field_checkbox.ts index 83f460bb9d2..0773a1f8251 100644 --- a/core/field_checkbox.ts +++ b/core/field_checkbox.ts @@ -114,7 +114,7 @@ export class FieldCheckbox extends Field { super.initView(); const textElement = this.getTextElement(); - dom.addClass(textElement, 'blocklyCheckbox'); + dom.addClass(this.fieldGroup_!, 'blocklyCheckboxField'); textElement.style.display = this.value_ ? 'block' : 'none'; }