diff --git a/packages/core/src/widgets/list/ListControl.tsx b/packages/core/src/widgets/list/ListControl.tsx index 270a1f7f..d657f66e 100644 --- a/packages/core/src/widgets/list/ListControl.tsx +++ b/packages/core/src/widgets/list/ListControl.tsx @@ -289,7 +289,7 @@ const ListControl: FC> = ({ const label = field.label ?? field.name; const labelSingular = field.label_singular ? field.label_singular : field.label ?? field.name; - const listLabel = internalValue.length === 1 ? labelSingular.toLowerCase() : label.toLowerCase(); + const listLabel = internalValue.length === 1 ? labelSingular : label; return ( @@ -301,7 +301,7 @@ const ListControl: FC> = ({ types={field[TYPES_KEY] ?? []} onAddType={type => handleAddType(type, resolveFieldKeyType(field))} heading={`${internalValue.length} ${listLabel}`} - label={labelSingular.toLowerCase()} + label={labelSingular} onCollapseToggle={handleCollapseAllToggle} collapsed={collapsed} hasError={hasErrors}