diff --git a/awx/ui_next/src/components/CodeMirrorInput/CodeMirrorField.jsx b/awx/ui_next/src/components/CodeMirrorInput/CodeMirrorField.jsx
new file mode 100644
index 0000000000..60d7896a38
--- /dev/null
+++ b/awx/ui_next/src/components/CodeMirrorInput/CodeMirrorField.jsx
@@ -0,0 +1,73 @@
+import React from 'react';
+import {
+ string,
+ oneOfType,
+ object,
+ func,
+ bool,
+ node,
+ oneOf,
+ number,
+} from 'prop-types';
+import { useField } from 'formik';
+import { FormGroup } from '@patternfly/react-core';
+import CodeMirrorInput from './CodeMirrorInput';
+import { FieldTooltip } from '../FormField';
+
+function CodeMirrorField({
+ id,
+ name,
+ label,
+ tooltip,
+ helperText,
+ validate,
+ isRequired,
+ mode,
+ ...rest
+}) {
+ const [field, meta, helpers] = useField({ name, validate });
+ const isValid = !(meta.touched && meta.error);
+
+ return (
+ }
+ >
+