FormLayoutMixin

external interface FormLayoutMixin : SlotStylesMixin

Inheritors

Properties

Link copied to clipboard
abstract var autoResponsive: Boolean

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
abstract var autoRows: Boolean

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
abstract var 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
abstract var expandColumns: Boolean

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
abstract var expandFields: Boolean

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
abstract var labelsAside: Boolean

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
abstract var maxColumns: Double

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
abstract var minColumns: Double

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

Allows specifying a responsive behavior with the number of columns and the label position depending on the layout width.