[4.0] Request: Change of Columns handling in Backend Forms #31702
marcorensch
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
based on: #29706
So fresh wind here: What if:
< fieldset name="myTab">
< fieldset name="basics">
< field>< /field>
< /fieldset>
< fieldset name="borders">
< field>< /field>
< /fieldset>
< /fieldset>
And when no fieldsets are used INSIDE the main fieldset the columns are limited to one column...
every additional fieldset (level 3 and after) should be ignored by this changes
This solution could have this benefits:
In my test it was necessary to put div's arround the fieldsets to have a nice looking GUI
In my test the generated HTML would need to look like this:
https://ibb.co/PWhx0V7
https://ibb.co/6Yw0Pjx
Things ToDo for this:
-- Add the column classes as already been done in the actual release & wrap fieldset element inside a div
-- Otherwise add column class for 1 column (because there are only fields and all of you are happy)
-- gets actually broken by [class^="column-"] > div, [class*=" column-"] > div {
/* display: inline-flex; ... } in template.css on 10062 (Beta 5) (disable in console while live testing and it worked like a charm)
And yes a small note inside the J4 docs would also be necessary to understand the logic and as i can see it should be backwards compatible too.
I'm sorry but i have no clue how to create build that for you to testing - but the GUI changes can be simulated by changing the HTML directly in the browser. What do you guys think?
Originally posted by @marcorensch in #29706 (comment)
Beta Was this translation helpful? Give feedback.
All reactions