-
Notifications
You must be signed in to change notification settings - Fork 189
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
[help} grid system for forms #201
Comments
Grid system includes a 12 column based layout utility. The width of a column is defined with the |
@cervenf, (and @nguyen-hai-nam, please correct me if I'm wrong), but there's no official row class. Because it wraps at 12, you effectively have a row. This is terser than grid > row > col structure, but more importantly (I think), it better supports different responsive breakpoints. On the other hand, if you are mixing col-n and col-fixed, you can't use a co-n to take up the additional space, since you don't necessarily know how much to use, or even have an exact 1/12 to use up. In that case, you could use a separate grid for each "row" to ensure, for example, "Manufacturer" starts a new row. It would be nice if the documentation included some recipes for dealing with common issues like this. |
Thank you for your response. I'm backend developer and worked a bit with Bootstrap before so maybe that is the reason that I would expect a row here. Row looks simpler to me then define spacer. Then I need to hide spacer on smaller devices etc. But maybe I'm not so good at fronted yet and don't see advantages of these approach yet. |
Hi,
I would like to ask how to build simple form like this:
I tried to use https://primeflex.org/formlayout
But I have no idea how to start a new "row".
I would like to have Id input on first row and then continue on second row with other fields.
Thank you.
The text was updated successfully, but these errors were encountered: