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

Form Layout #4193

Open
1 task done
msueping opened this issue May 15, 2024 · 1 comment
Open
1 task done

Form Layout #4193

msueping opened this issue May 15, 2024 · 1 comment
Labels

Comments

@msueping
Copy link

Prerequisites

What theme are you using?

material-ui

What is your question?

I'm trying to create a form where all input fields each occupy their own row and the label takes the left most column, followed by a column that shows an icon for help and that is immediately followed by another column to display the input component (checkbox, select, textbox, radio, etc.).

Is this possible using jsonschema form? How?

I've seen examples of vertical layout but the individual input labels appear directly over the inputs and both occupy a single column. I want my form to look more "spread out" like

| Label 1 goes here... | Icon | Input 1 goes here |
| Label 2 goes here... | Icon | Input 2 goes here |
etc...

@msueping msueping added needs triage Initial label given, to be assigned correct labels and assigned question labels May 15, 2024
@heath-freenome heath-freenome removed the needs triage Initial label given, to be assigned correct labels and assigned label May 17, 2024
@heath-freenome
Copy link
Member

Depending on the theme you are using, the labels locations are the result of the theme's library (For instance, Mui puts them into the field as the placeholder until data is provided and then they are placed above). At them moment we don't support providing the kind of table layout you seem to desire. We have some future plans to support a Grid layout for fields but even that wouldn't work for your purposes.

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