message: Add force validation for form-yaml switcher in pipeline builder page
diff: @@ -52,10 +52,19 @@ const PipelineBuilderForm: React.FC<PipelineBuilderFormProps> = (props) => {
  setFieldValue,
  setStatus,
  values,
  + validateForm,
  } = props;
  const statusRef = React.useRef(status);
  statusRef.current = status;
  + React.useEffect(() => {
  + if (values.editorType === EditorType.Form) {
  + // Force validation against the new data that was adjusted in the YAML
  + // Formik isn't properly handling the immediate state of the form values during the cycle of the editorType
  + setTimeout(() => validateForm(), 0);
  + }
  + }, [values.editorType, validateForm]);
  +
  const updateErrors: UpdateErrors = React.useCallback(
  (taskErrors) => {
  if (taskErrors) {
  