From 59eb8f077c2f67b4e88ef116ce28cf4617d7d66c Mon Sep 17 00:00:00 2001 From: Florian Boulnois Date: Mon, 28 Oct 2024 13:37:40 -0400 Subject: [PATCH] fix: ensure h3 validation fields have correct styling --- src/components/forms/forms.jsx | 6 +++++- src/pages/dar_application/DataAccessRequest.jsx | 8 +++++++- src/pages/dar_application/ResearcherInfo.jsx | 5 +++++ 3 files changed, 17 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) => {