diff --git a/openmetadata-ui/src/main/resources/ui/src/components/IngestionWorkflowForm/IngestionWorkflowForm.tsx b/openmetadata-ui/src/main/resources/ui/src/components/IngestionWorkflowForm/IngestionWorkflowForm.tsx index 1c181f7d954..3187c89309f 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/IngestionWorkflowForm/IngestionWorkflowForm.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/IngestionWorkflowForm/IngestionWorkflowForm.tsx @@ -12,7 +12,7 @@ */ import Form, { IChangeEvent } from '@rjsf/core'; import { RegistryFieldsType } from '@rjsf/utils'; -import validator from '@rjsf/validator-ajv8'; +import { customizeValidator } from '@rjsf/validator-ajv8'; import { Button, Space } from 'antd'; import classNames from 'classnames'; import { isUndefined, omit, omitBy } from 'lodash'; @@ -60,6 +60,11 @@ const IngestionWorkflowForm: FC = ({ [pipeLineType, serviceCategory] ); + const validator = useMemo( + () => customizeValidator(), + [] + ); + const isElasticSearchPipeline = pipeLineType === PipelineType.ElasticSearchReindex;