FormLayoutAttributes

Attribute names of <vaadin-form-layout>, for use with setAttribute.

Properties

Link copied to clipboard

When set to true, the component automatically creates and adjusts columns based on the container's width. Columns have a fixed width defined by columnWidth and their number increases up to the limit set by maxColumns. The component dynamically adjusts the number of columns as the container size changes. When this mode is enabled, responsiveSteps are ignored.

Link copied to clipboard
const val autoRows: String

When enabled with autoResponsive, distributes fields across columns by placing each field in the next available column and wrapping to the next row when the current row is full. <br> elements can be used to force a new row.

Link copied to clipboard
const val columnWidth: String

When autoResponsive is enabled, defines the width of each column. The value must be defined in CSS length units, e.g. 100px.

Link copied to clipboard

When autoResponsive is enabled, specifies whether the columns should expand in width to evenly fill any remaining space after all columns have been created.

Link copied to clipboard
const val expandFields: String

When autoResponsive is enabled, specifies whether fields should stretch to take up all available space within columns. This setting also applies to fields inside <vaadin-form-item> elements.

Link copied to clipboard
const val labelsAside: String

When enabled with autoResponsive, <vaadin-form-item> prefers positioning labels beside the fields. If the layout is too narrow to fit a single column with a side label, the component will automatically switch labels to their default position above the fields.

Link copied to clipboard
const val maxColumns: String

When autoResponsive is enabled, defines the maximum number of columns that the layout can create. The layout will create columns up to this limit based on the available container width.

Link copied to clipboard
const val minColumns: String

When autoResponsive is enabled, defines the minimum number of columns that the layout can create. The layout will create columns at least up to this limit.

Link copied to clipboard
const val theme: String

The theme variants to apply to the component.