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

Better form layout #44

Closed
adamkudrna opened this issue Apr 16, 2020 · 0 comments · Fixed by #93
Closed

Better form layout #44

adamkudrna opened this issue Apr 16, 2020 · 0 comments · Fixed by #93
Assignees
Labels
Milestone

Comments

@adamkudrna
Copy link
Member

adamkudrna commented Apr 16, 2020

We need the option to align form fields to the input field from the left side, even when they have auto-sized labels in horizontal layout. It must also work with vertical field layout (applied also for horizontal layout on small screens).

@adamkudrna adamkudrna added this to the v0.29.0 milestone Apr 16, 2020
@adamkudrna adamkudrna self-assigned this Apr 16, 2020
adamkudrna added a commit that referenced this issue May 30, 2020
adamkudrna added a commit that referenced this issue May 30, 2020
Fragments are not traversed with `React.children.map()` [1][2] so we are using the `react-keyed-flatten-children` bundle to flatten the children to a one-dimensional array. This is necessary to be able to pass props to children of these layouts.

[1] https://reactjs.org/docs/react-api.html#reactchildrenmap
[2] reactjs/rfcs#61 (comment)
adamkudrna added a commit that referenced this issue Jun 2, 2020
Fragments are not traversed with `React.children.map()` [1][2] so we are using the `react-keyed-flatten-children` bundle to flatten the children to a one-dimensional array. This is necessary to be able to pass props to children of these layouts.

[1] https://reactjs.org/docs/react-api.html#reactchildrenmap
[2] reactjs/rfcs#61 (comment)
adamkudrna added a commit that referenced this issue Jun 5, 2020
Fragments are not traversed with `React.children.map()` [1][2] so we are using the `react-keyed-flatten-children` bundle to flatten the children to a one-dimensional array. This is necessary to be able to pass props to children of these layouts.

[1] https://reactjs.org/docs/react-api.html#reactchildrenmap
[2] reactjs/rfcs#61 (comment)
adamkudrna added a commit that referenced this issue Jun 5, 2020
Fragments are not traversed with `React.children.map()` [1][2] so we are using the `react-keyed-flatten-children` bundle to flatten the children to a one-dimensional array. This is necessary to be able to pass props to children of these layouts.

[1] https://reactjs.org/docs/react-api.html#reactchildrenmap
[2] reactjs/rfcs#61 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant