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

Check box group: documented anatomy doesn't match what actually gets rendered #3073

Closed
francisfuzz opened this issue Sep 9, 2024 · 1 comment · Fixed by #3072
Closed
Assignees
Labels
bug Something isn't working rails

Comments

@francisfuzz
Copy link

Summary

Currently, there's not any way to configure the "position" of the Caption to match what's in its documented Anatomy. 😅

The Primer Docs' anatomy of a checkbox group orders the following from top to bottom:

  • Label
  • Caption
  • Options
  • Validation message

However, peeking at the source for a check box group, it would appear what's actually rendered is in a different order (again, from top to bottom):

  • Label
  • Options
  • Validation Message
  • Caption

I think it would be neat to reflect parity in both the documentation and implementation! 🙇

@francisfuzz
Copy link
Author

#3072 is targeted to address this 🎯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rails
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants