From 66793a68ce361babd6d20f1ee72fcff05daa3ac5 Mon Sep 17 00:00:00 2001 From: anna Date: Tue, 20 Feb 2024 11:00:03 +0800 Subject: [PATCH] idDocType show error label --- src/pages/authentication/auth-forms/CustomFormWizard.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/authentication/auth-forms/CustomFormWizard.js b/src/pages/authentication/auth-forms/CustomFormWizard.js index b3f85f1..159edc4 100644 --- a/src/pages/authentication/auth-forms/CustomFormWizard.js +++ b/src/pages/authentication/auth-forms/CustomFormWizard.js @@ -907,12 +907,13 @@ const CustomFormWizard = (props) => { sx={{ "#address4-combo": { padding: "0px 0px 0px 0px" }, "& .MuiAutocomplete-endAdornment": { top: "auto" }, }} renderInput={(params) => } /> {formik.touched.idDocType && ( - selectedIdDocType === null ? - + selectedIdDocType === null || selectedIdDocType?.type == null ? + : '' )}