From 57e513654fb659c879eb69493e618e4cb000b3ea Mon Sep 17 00:00:00 2001 From: Manojava Koushik <111366021+manojava-gk@users.noreply.github.com> Date: Wed, 4 Dec 2024 14:25:12 +0530 Subject: [PATCH] fix(registration): add indentifier type and number to button disable logic (#304) https://github.com/eclipse-tractusx/portal-frontend-registration/pull/304 --- src/components/cax-companyData.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/cax-companyData.tsx b/src/components/cax-companyData.tsx index b8ce2e4..60b7be8 100644 --- a/src/components/cax-companyData.tsx +++ b/src/components/cax-companyData.tsx @@ -723,6 +723,8 @@ export const CompanyDataCax = () => { errors.country !== '' || errors.postalCode !== '' || errors.region !== '' || + !identifierType || + identifierNumber.length === 0 || !identifierDetails?.length || errors.identifierNumber !== '' }