grid help
Hello
I have my form on 4 columns and I want to have my first field 1/4 and under it 2/4 and 2/4 fields. Right now the 2/4 field is placed next to the 1/4 field as there is still space.
How can I achieve what I want?
15 Replies
now I want first name and last name next to each other
I tried to get it like this, but it should be on the red part.
share your code please
ah, ok. it might be easier to wrap each 'row' in a
Group
component, then you'll have more control over this.
but this will work too:
I see thanks!ç
Could it be that group components for forms are missing from documentation
yea, they exist though. but they have the same methods as all the other layout components
I've tried it, but I can't get it working.. I feel really stupid right now 😂
when I wrap the fields in a group it is shown in a column
You could also group every row in a
Grid::make()
Have you tried placing the fields in the order you want them?
That's what I ended up doing in another form, if you have 3 fields at column 1 then 1 at column 2 it will start 3 rows down 😑
I have my code like this now
Like this ?