Hello colleagues,
In Jmix 1.x, we could easily create multi-column forms using the form
component with nested column
elements, which automatically pulled labels from messages:
<form>
<column>
<textField property="firstName"/> <!-- Лейбл автоматически подтягивался из messages -->
</column>
</form>
In Jmix 2.x (Flow UI), the form
/column
components are no longer available. I’ve tried using vbox
, but encountered an issue:
- Fields with
property
insidevbox
don’t automatically populate labels frommessages.properties
, requiring manuallabel
definitions:
<vbox>
<textField property="firstName" label="msg://firstName"/> <!-- Дублирование кода -->
</vbox>
Questions:
- Is there a Jmix 2.x equivalent of the 1.x
form
/column
functionality with automatic label population? - What are the best practices for creating multi-column forms in Flow UI without duplicating label definitions?