diff --git a/apps/client/src/widgets/PromotedAttributes.tsx b/apps/client/src/widgets/PromotedAttributes.tsx index 0ec79725a..a9618d3a6 100644 --- a/apps/client/src/widgets/PromotedAttributes.tsx +++ b/apps/client/src/widgets/PromotedAttributes.tsx @@ -217,6 +217,7 @@ function LabelInput({ inputId, ...props }: CellProps & { inputId: string }) { id={inputId} type={LABEL_MAPPINGS[definition.labelType ?? "text"]} value={valueAttr.value} + checked={definition.labelType === "boolean" ? valueAttr.value === "true" : undefined} placeholder={t("promoted_attributes.unset-field-placeholder")} data-attribute-id={valueAttr.attributeId} data-attribute-type={valueAttr.type}