Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added <legend> to <fieldset> element #45

Merged
merged 1 commit into from
Aug 7, 2020

Conversation

NidhiKJha
Copy link
Contributor

This pull request is to add the <legend> of a <fieldset> element which provides a label

@@ -23,7 +23,9 @@ const CheckboxInput = ({ commonInputProps, options, metaInputProps }) => {
error={error}
className={css.checkboxContainer}
>
<FormLabel required={required}>{label}</FormLabel>
<FormLabel component="legend" required={required}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this change how the label looks? If not, this is ok

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so. But I will verify it. Thanks

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it doesn't change the look

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok cool, I'll merge first thing tomorrow

@jtoliver jtoliver merged commit 68fceb8 into primeroIMS:development_v2 Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants