diff --git a/src/Components/CreateTemplateWorkflow/CreateWorkflowContent/CreateWorkflowContent.tsx b/src/Components/CreateTemplateWorkflow/CreateWorkflowContent/CreateWorkflowContent.tsx index dc28727a2..215438883 100644 --- a/src/Components/CreateTemplateWorkflow/CreateWorkflowContent/CreateWorkflowContent.tsx +++ b/src/Components/CreateTemplateWorkflow/CreateWorkflowContent/CreateWorkflowContent.tsx @@ -155,9 +155,6 @@ const CreateWorkflowContent: React.FC = ({ placeholder="Select a team" invalid={teamError && teamTouched} invalidText="Team is required" - shouldFilterItem={({ item, inputValue }: { item: ComboBoxItem; inputValue: string }) => - item && item.name.toLowerCase().includes(inputValue.toLowerCase()) - } /> = ({ value={values.name} onBlur={handleBlur} onChange={handleChange} - invalid={errors.name && touched.name} + invalid={Boolean(errors.name && touched.name)} invalidText={errors.name} /> @@ -177,7 +174,7 @@ const CreateWorkflowContent: React.FC = ({ value={values.name} onBlur={handleBlur} onChange={handleChange} - invalid={errors.name && touched.name} + invalid={Boolean(errors.name && touched.name)} invalidText={errors.name} /> )} @@ -187,7 +184,7 @@ const CreateWorkflowContent: React.FC = ({ value={values.summary} onBlur={handleBlur} onChange={handleChange} - invalid={errors.summary && touched.summary} + invalid={Boolean(errors.summary && touched.summary)} invalidText={errors.summary} />