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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 [BUG - React] - FormControl.Validation layout problems with Checkbox #203

Open
rezrah opened this issue Mar 9, 2023 · 1 comment
Assignees
Labels

Comments

@rezrah
Copy link
Collaborator

rezrah commented Mar 9, 2023

The following snippet:

<FormControl validationStatus='error'>
  <FormControl.Label>Day</FormControl.Label>
  <Checkbox name="day" value="" />
  <FormControl.Validation className="test">Please select at least one day</FormControl.Validation>
</FormControl>

Produces this:

validation message appearing before checkbox on the same line

This happens because of row-reverse flex layout method.

Expected behavior

@MadMango
Copy link

image

I had a quick stab at this in #513

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants