diff --git a/apps/client/src/widgets/PromotedAttributes.tsx b/apps/client/src/widgets/PromotedAttributes.tsx
index 54ed808a2..ff555ca84 100644
--- a/apps/client/src/widgets/PromotedAttributes.tsx
+++ b/apps/client/src/widgets/PromotedAttributes.tsx
@@ -115,12 +115,15 @@ function PromotedAttributeCell(props: CellProps) {
}, [ props.shouldFocus ]);
let correspondingInput: ComponentChild;
+ let className: string | undefined;
switch (valueAttr.type) {
case "label":
correspondingInput =