Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Merge pull request #374 from marmelab/feat/deal-multi-categories

Thiery Michele0ad58431cb1
diff --cc src/components/atomic-crm/deals/DealInputs.tsx
index 4da75696,768d6999..d9ba147b
--- a/src/components/atomic-crm/deals/DealInputs.tsx
+++ b/src/components/atomic-crm/deals/DealInputs.tsx
@@@ -63,12 -68,12 +63,12 @@@ const DealMiscInputs = () =>
const translate = useTranslate();
return (
<div className="flex flex-col gap-4 flex-1">
- <h3 className="text-base font-medium">
+ <h6 className="text-lg font-semibold">
{translate("resources.deals.field_categories.misc")}
- </h3>
+ </h6>
- <SelectInput
- source="category"
+ <AutocompleteArrayInput
+ source="categories"
choices={dealCategories}
optionText="label"
optionValue="value"