From 13e675766667746f6e2916f03344723bfe97c7e6 Mon Sep 17 00:00:00 2001 From: Keith Grant Date: Tue, 8 Sep 2020 10:17:18 -0700 Subject: [PATCH] add ids to CodeMirror FormGroup containers --- awx/ui_next/src/components/CodeMirrorInput/CodeMirrorField.jsx | 3 ++- awx/ui_next/src/components/CodeMirrorInput/CodeMirrorInput.jsx | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/awx/ui_next/src/components/CodeMirrorInput/CodeMirrorField.jsx b/awx/ui_next/src/components/CodeMirrorInput/CodeMirrorField.jsx index 60d7896a38..d08ab12674 100644 --- a/awx/ui_next/src/components/CodeMirrorInput/CodeMirrorField.jsx +++ b/awx/ui_next/src/components/CodeMirrorInput/CodeMirrorField.jsx @@ -30,6 +30,7 @@ function CodeMirrorField({ return ( } > { diff --git a/awx/ui_next/src/components/CodeMirrorInput/CodeMirrorInput.jsx b/awx/ui_next/src/components/CodeMirrorInput/CodeMirrorInput.jsx index d945462987..92a9071332 100644 --- a/awx/ui_next/src/components/CodeMirrorInput/CodeMirrorInput.jsx +++ b/awx/ui_next/src/components/CodeMirrorInput/CodeMirrorInput.jsx @@ -107,6 +107,7 @@ CodeMirrorInput.propTypes = { hasErrors: bool, fullHeight: bool, rows: number, + className: string, }; CodeMirrorInput.defaultProps = { readOnly: false, @@ -114,6 +115,7 @@ CodeMirrorInput.defaultProps = { rows: 6, fullHeight: false, hasErrors: false, + className: '', }; export default CodeMirrorInput;