From 000642bbfb63dc07dcb5669faf60eb167586c574 Mon Sep 17 00:00:00 2001 From: uzairr Date: Wed, 24 Feb 2021 08:17:13 +0500 Subject: [PATCH] fix font inconsistency --- src/common-components/AuthnValidationFormGroup.jsx | 1 + .../tests/__snapshots__/RegistrationPage.test.jsx.snap | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/common-components/AuthnValidationFormGroup.jsx b/src/common-components/AuthnValidationFormGroup.jsx index 8084eba8..d5c7a57a 100644 --- a/src/common-components/AuthnValidationFormGroup.jsx +++ b/src/common-components/AuthnValidationFormGroup.jsx @@ -68,6 +68,7 @@ const AuthnCustomValidationFormGroup = (props) => { if (props.type === 'select') { inputProps.options = props.selectOptions; + inputProps.className = props.value === '' ? 'text-muted' : null; } if (props.type === 'checkbox') { inputProps.checked = props.isChecked; diff --git a/src/register/tests/__snapshots__/RegistrationPage.test.jsx.snap b/src/register/tests/__snapshots__/RegistrationPage.test.jsx.snap index 68fe577d..79f3a6e5 100644 --- a/src/register/tests/__snapshots__/RegistrationPage.test.jsx.snap +++ b/src/register/tests/__snapshots__/RegistrationPage.test.jsx.snap @@ -118,7 +118,7 @@ exports[`RegistrationPageTests should match TPA provider snapshot 1`] = `