I set rowspan=“2” but no effect. It’s also not listed in designer among available attributes
Hi,
As documentation says, this attribute is used only with the GridLayout
component. We have plan to implement such functionality for the Form component, see related issue.
Regards,
Gleb
Hi @gorelov
Any idea when will rowspan
be implemented for Form
?
In the meantime we are stuck using FieldGroup
and its rows
properties. This is not a small detail because it means we then need to revert to Datasource
.
As Form
is due to replace FieldGroup
at some point, it could be interesting to have it covering at least the same features.
<field property="address"
rows="4"/>
Regards
Michael
Hi,
Flexible positioning and alignment for the Form
component is already implemented and will be available in the 7.2 release.
We have no plans to add component-specific attributes to the <field>
element as it’s done for FieldGroup
. This requires from a developer a full understanding of what component will be created at run-time, depending on specified attributes and make corresponding changes to the screen controller code. For instance, in a screen controller TextField is injected. After that, a developed define the rows
attribute. As the result, a corresponding injection must be altered otherwise a run-time exception will be thrown. So, in the Form
component you need to define a specific component in case you need to provide component-specific attributes.
Gleb
Hi Gleb,
That’s good news indeed !
That’s perfectly fine. As a developer as long as I can customise with ComponentGenerationStrategy
it’s ok, in fact I find it cleaner this way.
Regards
Michael