From eaa6e31da03f83ddba9f52ca7a47927f094964c7 Mon Sep 17 00:00:00 2001 From: fboulnois Date: Tue, 29 Oct 2024 11:13:04 -0400 Subject: [PATCH] [DT-936] Ensure H3 validation fields have correct styling (#2699) --- src/components/forms/forms.jsx | 6 +++++- src/pages/dar_application/DataAccessRequest.jsx | 10 +++++++++- src/pages/dar_application/ResearcherInfo.jsx | 6 ++++++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/components/forms/forms.jsx b/src/components/forms/forms.jsx index 8ce9757e8..d4fb18c0a 100644 --- a/src/components/forms/forms.jsx +++ b/src/components/forms/forms.jsx @@ -37,6 +37,7 @@ export const commonOptionalProps = [ 'defaultValue', 'hideTitle', 'style', + 'titleStyle', 'validators', 'onChange', 'type', @@ -216,6 +217,7 @@ export const FormFieldTitle = (props) => { ariaLevel, required, validation, + titleStyle, } = props; return
@@ -223,6 +225,7 @@ export const FormFieldTitle = (props) => {