From 41240d85e30d1695dfff09fee1d139a58864dd79 Mon Sep 17 00:00:00 2001 From: Jonathan ARNAULT Date: Fri, 26 Jul 2024 11:36:56 +0200 Subject: [PATCH] Fix(crm): sales is now required for contacts and companies --- examples/crm/src/companies/CompanyInputs.tsx | 1 + examples/crm/src/contacts/ContactInputs.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/crm/src/companies/CompanyInputs.tsx b/examples/crm/src/companies/CompanyInputs.tsx index 2e85e094aa..e3c265b227 100644 --- a/examples/crm/src/companies/CompanyInputs.tsx +++ b/examples/crm/src/companies/CompanyInputs.tsx @@ -139,6 +139,7 @@ const CompanyAccountManagerInput = () => { label="Account manager" helperText={false} optionText={saleOptionRenderer} + validate={required()} /> diff --git a/examples/crm/src/contacts/ContactInputs.tsx b/examples/crm/src/contacts/ContactInputs.tsx index 544b77e681..acbdca27e9 100644 --- a/examples/crm/src/contacts/ContactInputs.tsx +++ b/examples/crm/src/contacts/ContactInputs.tsx @@ -185,6 +185,7 @@ const ContactMiscInputs = () => { helperText={false} label="Account manager" optionText={saleOptionRenderer} + validate={required()} />